autoconf
This commit is contained in:
parent
e33a23fccd
commit
fbcda7b4a7
|
@ -6061,6 +6061,7 @@ fi
|
||||||
echo "configure: warning: tcl support disabled; tcl.h missing" 1>&2
|
echo "configure: warning: tcl support disabled; tcl.h missing" 1>&2
|
||||||
USE_TCL=
|
USE_TCL=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$USE_TCL" = "true"; then
|
if test "$USE_TCL" = "true"; then
|
||||||
|
@ -6069,7 +6070,7 @@ if test "$USE_TCL" = "true"; then
|
||||||
for tcl_lib in $tcl_libs; do
|
for tcl_lib in $tcl_libs; do
|
||||||
if test -z "$TCL_LIB"; then
|
if test -z "$TCL_LIB"; then
|
||||||
echo $ac_n "checking for main in -l$tcl_lib""... $ac_c" 1>&6
|
echo $ac_n "checking for main in -l$tcl_lib""... $ac_c" 1>&6
|
||||||
echo "configure:6073: checking for main in -l$tcl_lib" >&5
|
echo "configure:6074: checking for main in -l$tcl_lib" >&5
|
||||||
ac_lib_var=`echo $tcl_lib'_'main | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo $tcl_lib'_'main | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
@ -6077,14 +6078,14 @@ else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-l$tcl_lib $LIBS"
|
LIBS="-l$tcl_lib $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 6081 "configure"
|
#line 6082 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
main()
|
main()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:6088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
if { (eval echo configure:6089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
|
@ -6111,12 +6112,13 @@ fi
|
||||||
USE_TCL=
|
USE_TCL=
|
||||||
else
|
else
|
||||||
TCL_LIB=-l$TCL_LIB
|
TCL_LIB=-l$TCL_LIB
|
||||||
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$USE_TCL"; then
|
if test "$USE_TCL"; then
|
||||||
echo $ac_n "checking for tclConfig.sh""... $ac_c" 1>&6
|
echo $ac_n "checking for tclConfig.sh""... $ac_c" 1>&6
|
||||||
echo "configure:6120: checking for tclConfig.sh" >&5
|
echo "configure:6122: checking for tclConfig.sh" >&5
|
||||||
library_dirs="$LIBRARY_DIRS /usr/lib"
|
library_dirs="$LIBRARY_DIRS /usr/lib"
|
||||||
TCL_CONFIG_SH=
|
TCL_CONFIG_SH=
|
||||||
for dir in $library_dirs; do
|
for dir in $library_dirs; do
|
||||||
|
@ -6156,17 +6158,17 @@ then
|
||||||
TK_INCDIR=no
|
TK_INCDIR=no
|
||||||
ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
|
ac_safe=`echo "tk.h" | sed 'y%./+-%__p_%'`
|
||||||
echo $ac_n "checking for tk.h""... $ac_c" 1>&6
|
echo $ac_n "checking for tk.h""... $ac_c" 1>&6
|
||||||
echo "configure:6160: checking for tk.h" >&5
|
echo "configure:6162: checking for tk.h" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 6165 "configure"
|
#line 6167 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <tk.h>
|
#include <tk.h>
|
||||||
EOF
|
EOF
|
||||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
{ (eval echo configure:6170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:6172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
ac_err=`grep -v '^ *+' conftest.out`
|
ac_err=`grep -v '^ *+' conftest.out`
|
||||||
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
|
@ -6215,7 +6217,7 @@ then
|
||||||
for tk_lib in $tk_libs; do
|
for tk_lib in $tk_libs; do
|
||||||
if test -z "$TK_LIB"; then
|
if test -z "$TK_LIB"; then
|
||||||
echo $ac_n "checking for main in -l$tk_lib""... $ac_c" 1>&6
|
echo $ac_n "checking for main in -l$tk_lib""... $ac_c" 1>&6
|
||||||
echo "configure:6219: checking for main in -l$tk_lib" >&5
|
echo "configure:6221: checking for main in -l$tk_lib" >&5
|
||||||
ac_lib_var=`echo $tk_lib'_'main | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo $tk_lib'_'main | sed 'y%./+-%__p_%'`
|
||||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
|
@ -6223,14 +6225,14 @@ else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-l$tk_lib $LIBS"
|
LIBS="-l$tk_lib $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 6227 "configure"
|
#line 6229 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
main()
|
main()
|
||||||
; return 0; }
|
; return 0; }
|
||||||
EOF
|
EOF
|
||||||
if { (eval echo configure:6234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
if { (eval echo configure:6236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||||
else
|
else
|
||||||
|
@ -6257,6 +6259,7 @@ fi
|
||||||
USE_TCL=
|
USE_TCL=
|
||||||
else
|
else
|
||||||
TK_LIB=-l$TK_LIB
|
TK_LIB=-l$TK_LIB
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LIBS="$ice_save_LIBS"
|
LIBS="$ice_save_LIBS"
|
||||||
|
@ -6267,7 +6270,7 @@ fi
|
||||||
|
|
||||||
if test "$USE_TCL"; then
|
if test "$USE_TCL"; then
|
||||||
echo $ac_n "checking for tkConfig.sh""... $ac_c" 1>&6
|
echo $ac_n "checking for tkConfig.sh""... $ac_c" 1>&6
|
||||||
echo "configure:6271: checking for tkConfig.sh" >&5
|
echo "configure:6274: checking for tkConfig.sh" >&5
|
||||||
library_dirs="$LIBRARY_DIRS /usr/lib"
|
library_dirs="$LIBRARY_DIRS /usr/lib"
|
||||||
TK_CONFIG_SH=
|
TK_CONFIG_SH=
|
||||||
for dir in $library_dirs; do
|
for dir in $library_dirs; do
|
||||||
|
@ -6303,17 +6306,17 @@ then
|
||||||
PWD_INCDIR=no
|
PWD_INCDIR=no
|
||||||
ac_safe=`echo "pwd.h" | sed 'y%./+-%__p_%'`
|
ac_safe=`echo "pwd.h" | sed 'y%./+-%__p_%'`
|
||||||
echo $ac_n "checking for pwd.h""... $ac_c" 1>&6
|
echo $ac_n "checking for pwd.h""... $ac_c" 1>&6
|
||||||
echo "configure:6307: checking for pwd.h" >&5
|
echo "configure:6310: checking for pwd.h" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 6312 "configure"
|
#line 6315 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
EOF
|
EOF
|
||||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||||
{ (eval echo configure:6317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
{ (eval echo configure:6320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||||
ac_err=`grep -v '^ *+' conftest.out`
|
ac_err=`grep -v '^ *+' conftest.out`
|
||||||
if test -z "$ac_err"; then
|
if test -z "$ac_err"; then
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
|
@ -6557,7 +6560,10 @@ s%@X_PRE_LIBS@%$X_PRE_LIBS%g
|
||||||
s%@X_LIBS@%$X_LIBS%g
|
s%@X_LIBS@%$X_LIBS%g
|
||||||
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
|
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
|
||||||
s%@X11_LIBS@%$X11_LIBS%g
|
s%@X11_LIBS@%$X11_LIBS%g
|
||||||
|
s%@TCL_INCDIR@%$TCL_INCDIR%g
|
||||||
|
s%@TCL_LIB@%$TCL_LIB%g
|
||||||
s%@TCL_CONFIG_SH@%$TCL_CONFIG_SH%g
|
s%@TCL_CONFIG_SH@%$TCL_CONFIG_SH%g
|
||||||
|
s%@TK_LIB@%$TK_LIB%g
|
||||||
s%@TK_CONFIG_SH@%$TK_CONFIG_SH%g
|
s%@TK_CONFIG_SH@%$TK_CONFIG_SH%g
|
||||||
|
|
||||||
CEOF
|
CEOF
|
||||||
|
|
Loading…
Reference in New Issue