openbsd-ports/security/nessus/core/patches/patch-configure
2005-05-16 16:07:43 +00:00

132 lines
3.6 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1 2005/05/16 16:07:43 sturm Exp $
--- configure.orig Tue Feb 8 02:40:42 2005
+++ configure Sun May 8 17:06:47 2005
@@ -5415,80 +5415,8 @@ else
echo "$ac_t""no" 1>&6
fi
-test "x$GTKCONFIG" = x && {
- # Extract the first word of "gtk12-config", so it can be a program name with args.
-set dummy gtk12-config; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:5423: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_GTKCONFIG'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$GTKCONFIG" in
- /*)
- ac_cv_path_GTKCONFIG="$GTKCONFIG" # Let the user override the test with a path.
- ;;
- ?:/*)
- ac_cv_path_GTKCONFIG="$GTKCONFIG" # Let the user override the test with a dos path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$XPATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_GTKCONFIG="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- ;;
-esac
-fi
-GTKCONFIG="$ac_cv_path_GTKCONFIG"
-if test -n "$GTKCONFIG"; then
- echo "$ac_t""$GTKCONFIG" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
- test "x$GTKCONFIG" = x && # Extract the first word of "gtk10-config", so it can be a program name with args.
-set dummy gtk10-config; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:5458: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_GTKCONFIG'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$GTKCONFIG" in
- /*)
- ac_cv_path_GTKCONFIG="$GTKCONFIG" # Let the user override the test with a path.
- ;;
- ?:/*)
- ac_cv_path_GTKCONFIG="$GTKCONFIG" # Let the user override the test with a dos path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$XPATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_GTKCONFIG="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- ;;
-esac
-fi
-GTKCONFIG="$ac_cv_path_GTKCONFIG"
-if test -n "$GTKCONFIG"; then
- echo "$ac_t""$GTKCONFIG" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
- }
-
-
# Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
@@ -5582,46 +5510,7 @@ if test -n "$GLIBCONFIG"; then
else
echo "$ac_t""no" 1>&6
fi
-
-test "x$GLIBCONFIG" = x && {
- # Extract the first word of "glib12-config", so it can be a program name with args.
-set dummy glib12-config; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:5591: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_GLIBCONFIG'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$GLIBCONFIG" in
- /*)
- ac_cv_path_GLIBCONFIG="$GLIBCONFIG" # Let the user override the test with a path.
- ;;
- ?:/*)
- ac_cv_path_GLIBCONFIG="$GLIBCONFIG" # Let the user override the test with a dos path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$XPATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_GLIBCONFIG="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- ;;
-esac
-fi
-GLIBCONFIG="$ac_cv_path_GLIBCONFIG"
-if test -n "$GLIBCONFIG"; then
- echo "$ac_t""$GLIBCONFIG" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
}
-}
-
test -z "$GTKCONFIG" && echo "configure: warning: **** gtk not found" 1>&2