202 lines
5.6 KiB
Text
202 lines
5.6 KiB
Text
$NetBSD: patch-aa,v 1.3 2006/06/12 15:24:08 joerg Exp $
|
|
|
|
--- configure.orig 2003-12-02 20:16:21.000000000 +0000
|
|
+++ configure
|
|
@@ -19582,73 +19582,6 @@ _ACEOF
|
|
fi
|
|
|
|
|
|
-echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
|
|
-echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
|
|
-if test "${ac_cv_lib_crypt_main+set}" = set; then
|
|
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
-else
|
|
- ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lcrypt $LIBS"
|
|
-cat >conftest.$ac_ext <<_ACEOF
|
|
-/* confdefs.h. */
|
|
-_ACEOF
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
-/* end confdefs.h. */
|
|
-
|
|
-
|
|
-int
|
|
-main ()
|
|
-{
|
|
-main ();
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext
|
|
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
- (eval $ac_link) 2>conftest.er1
|
|
- ac_status=$?
|
|
- grep -v '^ *+' conftest.er1 >conftest.err
|
|
- rm -f conftest.er1
|
|
- cat conftest.err >&5
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); } &&
|
|
- { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
- (eval $ac_try) 2>&5
|
|
- ac_status=$?
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; } &&
|
|
- { ac_try='test -s conftest$ac_exeext'
|
|
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
- (eval $ac_try) 2>&5
|
|
- ac_status=$?
|
|
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
- (exit $ac_status); }; }; then
|
|
- ac_cv_lib_crypt_main=yes
|
|
-else
|
|
- echo "$as_me: failed program was:" >&5
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
-
|
|
-ac_cv_lib_crypt_main=no
|
|
-fi
|
|
-rm -f conftest.err conftest.$ac_objext \
|
|
- conftest$ac_exeext conftest.$ac_ext
|
|
-LIBS=$ac_check_lib_save_LIBS
|
|
-fi
|
|
-echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
|
|
-echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
|
|
-if test $ac_cv_lib_crypt_main = yes; then
|
|
- cat >>confdefs.h <<_ACEOF
|
|
-#define HAVE_LIBCRYPT 1
|
|
-_ACEOF
|
|
-
|
|
- LIBS="-lcrypt $LIBS"
|
|
-
|
|
-fi
|
|
-
|
|
-
|
|
echo "$as_me:$LINENO: checking for main in -ld" >&5
|
|
echo $ECHO_N "checking for main in -ld... $ECHO_C" >&6
|
|
if test "${ac_cv_lib_d_main+set}" = set; then
|
|
@@ -25066,13 +24999,13 @@ fi;
|
|
savedldflags="$LDFLAGS"
|
|
CFLAGS="$CFLAGS -I$bdbdir"
|
|
LDFLAGS="-L$bdblibdir $LDFLAGS"
|
|
- echo "$as_me:$LINENO: checking for main in -ldb" >&5
|
|
-echo $ECHO_N "checking for main in -ldb... $ECHO_C" >&6
|
|
+ echo "$as_me:$LINENO: checking for main in -ldb3" >&5
|
|
+echo $ECHO_N "checking for main in -ldb3... $ECHO_C" >&6
|
|
if test "${ac_cv_lib_db_main+set}" = set; then
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-ldb $LIBS"
|
|
+LIBS="-ldb3 $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -25132,7 +25065,7 @@ if test $ac_cv_lib_db_main = yes; then
|
|
if test "$bdblibdir" != "/usr/lib"; then
|
|
BDB_LIBS="-L$bdblibdir"
|
|
fi
|
|
- BDB_LIBS="$BDB_LIBS -ldb"
|
|
+ BDB_LIBS="$BDB_LIBS -ldb3"
|
|
BDB_BIN=$bdbbindir
|
|
BDB_PATH="`echo $bdbdir | sed 's,include/db3$,,'`"
|
|
BDB_PATH="`echo $BDB_PATH | sed 's,include$,,'`"
|
|
@@ -25888,6 +25821,7 @@ CFLAGS="-I\$(top_srcdir)/include $CFLAGS
|
|
case "$host_os" in
|
|
*aix*) this_os=aix ;;
|
|
*freebsd*) this_os=freebsd ;;
|
|
+ *dragonfly*) this_os=dragonfly ;;
|
|
*hpux11*) this_os=hpux11 ;;
|
|
*irix*) this_os=irix ;;
|
|
*linux*) this_os=linux ;;
|
|
@@ -25921,7 +25855,7 @@ _ACEOF
|
|
|
|
fi
|
|
|
|
-if test x"$this_os" = "xfreebsd"; then
|
|
+if test x"$this_os" = "xfreebsd" || test x"$this_os" = "xdragonfly"; then
|
|
echo "$as_me:$LINENO: result: * FreeBSD specific configuration" >&5
|
|
echo "${ECHO_T} * FreeBSD specific configuration" >&6
|
|
cat >>confdefs.h <<\_ACEOF
|
|
@@ -26702,7 +26636,71 @@ echo "${ECHO_T}no" >&6
|
|
fi
|
|
|
|
|
|
+echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
|
|
+echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
|
|
+if test "${ac_cv_lib_crypt_main+set}" = set; then
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
+else
|
|
+ ac_check_lib_save_LIBS=$LIBS
|
|
+LIBS="-lcrypt $LIBS"
|
|
+cat >conftest.$ac_ext <<_ACEOF
|
|
+/* confdefs.h. */
|
|
+_ACEOF
|
|
+cat confdefs.h >>conftest.$ac_ext
|
|
+cat >>conftest.$ac_ext <<_ACEOF
|
|
+/* end confdefs.h. */
|
|
+
|
|
|
|
+int
|
|
+main ()
|
|
+{
|
|
+main ();
|
|
+ ;
|
|
+ return 0;
|
|
+}
|
|
+_ACEOF
|
|
+rm -f conftest.$ac_objext conftest$ac_exeext
|
|
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
+ (eval $ac_link) 2>conftest.er1
|
|
+ ac_status=$?
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
+ rm -f conftest.er1
|
|
+ cat conftest.err >&5
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); } &&
|
|
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
+ (eval $ac_try) 2>&5
|
|
+ ac_status=$?
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); }; } &&
|
|
+ { ac_try='test -s conftest$ac_exeext'
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
+ (eval $ac_try) 2>&5
|
|
+ ac_status=$?
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
+ (exit $ac_status); }; }; then
|
|
+ ac_cv_lib_crypt_main=yes
|
|
+else
|
|
+ echo "$as_me: failed program was:" >&5
|
|
+sed 's/^/| /' conftest.$ac_ext >&5
|
|
+
|
|
+ac_cv_lib_crypt_main=no
|
|
+fi
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
+LIBS=$ac_check_lib_save_LIBS
|
|
+fi
|
|
+echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
|
|
+echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
|
|
+if test $ac_cv_lib_crypt_main = yes; then
|
|
+ cat >>confdefs.h <<_ACEOF
|
|
+#define HAVE_LIBCRYPT 1
|
|
+_ACEOF
|
|
+
|
|
+ LIBS="-lcrypt $LIBS"
|
|
+
|
|
+fi
|
|
|
|
|
|
# Check whether --enable-pgp-uam or --disable-pgp-uam was given.
|
|
@@ -27492,6 +27490,8 @@ do
|
|
_ACEOF
|
|
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
+ # Avoid regenerating for rechecks on pkgsrc
|
|
+ exit 0
|
|
ac_cs_recheck=: ;;
|
|
--version | --vers* | -V )
|
|
echo "$ac_cs_version"; exit 0 ;;
|