From 51fd8dd36ad666f5a71a0e16e83ac82f18de8127 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 12 Oct 1998 04:11:03 +0000 Subject: [PATCH] autoconf --- src/configure | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/src/configure b/src/configure index 6a430565fe..6c02cfdd52 100755 --- a/src/configure +++ b/src/configure @@ -6112,12 +6112,11 @@ fi else TCL_LIB=-l$TCL_LIB fi - fi if test "$USE_TCL"; then echo $ac_n "checking for tclConfig.sh""... $ac_c" 1>&6 -echo "configure:6121: checking for tclConfig.sh" >&5 +echo "configure:6120: checking for tclConfig.sh" >&5 library_dirs="$LIBRARY_DIRS /usr/lib" TCL_CONFIG_SH= for dir in $library_dirs; do @@ -6157,17 +6156,17 @@ then TK_INCDIR=no ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for tk.h""... $ac_c" 1>&6 -echo "configure:6161: checking for tk.h" >&5 +echo "configure:6160: checking for tk.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:6170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -6216,7 +6215,7 @@ then for tk_lib in $tk_libs; do if test -z "$TK_LIB"; then echo $ac_n "checking for main in -l$tk_lib""... $ac_c" 1>&6 -echo "configure:6220: checking for main in -l$tk_lib" >&5 +echo "configure:6219: checking for main in -l$tk_lib" >&5 ac_lib_var=`echo $tk_lib'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -6224,14 +6223,14 @@ else ac_save_LIBS="$LIBS" LIBS="-l$tk_lib $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:6234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -6260,8 +6259,6 @@ fi TK_LIB=-l$TK_LIB fi - - LIBS="$ice_save_LIBS" CFLAGS="$ice_save_CFLAGS" CPPFLAGS="$ice_save_CPPFLAGS" @@ -6270,7 +6267,7 @@ fi if test "$USE_TCL"; then echo $ac_n "checking for tkConfig.sh""... $ac_c" 1>&6 -echo "configure:6121: checking for tkConfig.sh" >&5 +echo "configure:6271: checking for tkConfig.sh" >&5 library_dirs="$LIBRARY_DIRS /usr/lib" TK_CONFIG_SH= for dir in $library_dirs; do @@ -6297,7 +6294,6 @@ echo "configure:6121: checking for tkConfig.sh" >&5 fi fi - #if test "X$USE_ODBC" = "Xtrue" #then # AC_CONFIG_SUBDIRS(interfaces/odbc) @@ -6307,17 +6303,17 @@ then PWD_INCDIR=no ac_safe=`echo "pwd.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for pwd.h""... $ac_c" 1>&6 -echo "configure:6281: checking for pwd.h" >&5 +echo "configure:6307: checking for pwd.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:6291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:6317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -6561,9 +6557,7 @@ s%@X_PRE_LIBS@%$X_PRE_LIBS%g s%@X_LIBS@%$X_LIBS%g s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g s%@X11_LIBS@%$X11_LIBS%g -s%@TCL_LIB@%$TCL_LIB%g s%@TCL_CONFIG_SH@%$TCL_CONFIG_SH%g -s%@TK_LIB@%$TK_LIB%g s%@TK_CONFIG_SH@%$TK_CONFIG_SH%g CEOF -- 2.40.0