Fix SYS_PROCFS

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11250 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2001-10-26 02:37:52 +00:00
parent 8016f866e8
commit e2e671683c
3 changed files with 72 additions and 60 deletions

View file

@ -1,5 +1,9 @@
2001-10-25 Adam Fedor <fedor@gnu.org>
* aclocal.m4 (AC_SYS_PROCFS): Typo fix, use AC_ARG_ENABLE. Make
sure cache var is set to no if disabled.
(AC_SYS_PROCFS_EXE_LINK): Likewise.
* configure.in: Check for LLONG_MAX. Check for -lcipher.
(Patch from chrisv@web4inc.com with modifications).
* Source/GSFormat.m: If we have LLONG_MAX, define LONG_LONG_MAX

8
aclocal.m4 vendored
View file

@ -183,7 +183,7 @@ dnl AC_SYS_PROCFS
dnl This macro defines HAVE_PROCFS if either it finds a mounted /proc
dnl or the user explicitly enables it for cross-compiles.
AC_DEFUN(AC_SYS_PROCFS,
[ AC_ARG_WITH(enable_procfs,
[ AC_ARG_ENABLE(procfs,
[ --enable-procfs Use /proc filesystem (default)],
enable_procfs="$enableval", if test "$cross_compiling" = yes; then enable_procfs=cross; else enable_procfs=yes; fi;)
@ -193,7 +193,7 @@ AC_DEFUN(AC_SYS_PROCFS,
# if test -d /proc/0; then
# but it doesn't work on my linux - /proc/0 does not exist, but /proc
# works fine
if (grep proc /etc/fstab >/dev/null 2>/dev/null); then
if (grep proc /etc/fstab >/dev/null 2>/dev/null); then
ac_cv_sys_procfs=yes
# Solaris has proc, but for some reason the dir is not readable
# elif (grep proc /etc/vfstab >/dev/null 2>/dev/null); then
@ -203,6 +203,8 @@ AC_DEFUN(AC_SYS_PROCFS,
fi
elif test "$enable_procfs" = cross; then
AC_MSG_WARN(Pass --enable-procfs argument to enable use of /proc filesystem.)
else
ac_cv_sys_procfs=no
fi])
if test $ac_cv_sys_procfs = yes; then
@ -229,6 +231,8 @@ AC_DEFUN(AC_SYS_PROCFS_EXE_LINK,
else
ac_cv_sys_procfs_exe_link=no
fi
else
ac_cv_sys_procfs_exe_link=no
fi])
if test "$ac_cv_sys_procfs_exe_link" != no; then

120
configure vendored
View file

@ -4496,9 +4496,9 @@ fi
# Defines HAVE_PROCFS if the kernel supports the /proc filesystem.
# Needed by NSProcessInfo.m
#--------------------------------------------------------------------
# Check whether --with-enable_procfs or --without-enable_procfs was given.
if test "${with_enable_procfs+set}" = set; then
withval="$with_enable_procfs"
# Check whether --enable-procfs or --disable-procfs was given.
if test "${enable_procfs+set}" = set; then
enableval="$enable_procfs"
enable_procfs="$enableval"
else
if test "$cross_compiling" = yes; then enable_procfs=cross; else enable_procfs=yes; fi;
@ -4515,7 +4515,7 @@ else
# if test -d /proc/0; then
# but it doesn't work on my linux - /proc/0 does not exist, but /proc
# works fine
if (grep proc /etc/fstab >/dev/null 2>/dev/null); then
if (grep proc /etc/fstab >/dev/null 2>/dev/null); then
ac_cv_sys_procfs=yes
# Solaris has proc, but for some reason the dir is not readable
# elif (grep proc /etc/vfstab >/dev/null 2>/dev/null); then
@ -4525,6 +4525,8 @@ else
fi
elif test "$enable_procfs" = cross; then
echo "configure: warning: Pass --enable-procfs argument to enable use of /proc filesystem." 1>&2
else
ac_cv_sys_procfs=no
fi
fi
@ -4541,7 +4543,7 @@ EOF
echo $ac_n "checking link to exe of process in /proc""... $ac_c" 1>&6
echo "configure:4545: checking link to exe of process in /proc" >&5
echo "configure:4547: checking link to exe of process in /proc" >&5
if eval "test \"`echo '$''{'ac_cv_sys_procfs_exe_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -4555,6 +4557,8 @@ else
else
ac_cv_sys_procfs_exe_link=no
fi
else
ac_cv_sys_procfs_exe_link=no
fi
fi
@ -4572,16 +4576,16 @@ EOF
# Check if /proc/$$/cmdline terminates the last argument with a nul
#--------------------------------------------------------------------
echo $ac_n "checking /proc/$$/cmdline terminated by nul""... $ac_c" 1>&6
echo "configure:4576: checking /proc/$$/cmdline terminated by nul" >&5
echo "configure:4580: checking /proc/$$/cmdline terminated by nul" >&5
if test "$cross_compiling" = yes; then
CMDLINE_TERMINATED=0
else
cat > conftest.$ac_ext <<EOF
#line 4581 "configure"
#line 4585 "configure"
#include "confdefs.h"
#include "$srcdir/config/config.proccmd.c"
EOF
if { (eval echo configure:4585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:4589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
CMDLINE_TERMINATED=1
else
@ -4607,16 +4611,16 @@ fi
# Check if short and int values need to be word aligned
#--------------------------------------------------------------------
echo $ac_n "checking short/int needs to be word aligned""... $ac_c" 1>&6
echo "configure:4611: checking short/int needs to be word aligned" >&5
echo "configure:4615: checking short/int needs to be word aligned" >&5
if test "$cross_compiling" = yes; then
NEED_WORD_ALIGNMENT=1
else
cat > conftest.$ac_ext <<EOF
#line 4616 "configure"
#line 4620 "configure"
#include "confdefs.h"
#include "$srcdir/config/config.align.c"
EOF
if { (eval echo configure:4620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:4624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
NEED_WORD_ALIGNMENT=0
else
@ -4644,7 +4648,7 @@ fi
# doesn't work. Allow NSProcessInfo initialization method also.
#--------------------------------------------------------------------
echo $ac_n "checking "use of pass-through arguments"""... $ac_c" 1>&6
echo "configure:4648: checking "use of pass-through arguments"" >&5
echo "configure:4652: checking "use of pass-through arguments"" >&5
# Check whether --enable-pass-arguments or --disable-pass-arguments was given.
if test "${enable_pass_arguments+set}" = set; then
enableval="$enable_pass_arguments"
@ -4666,7 +4670,7 @@ fi
echo "$ac_t""$enable_pass_arguments" 1>&6
echo $ac_n "checking "use of fake-main definition"""... $ac_c" 1>&6
echo "configure:4670: checking "use of fake-main definition"" >&5
echo "configure:4674: checking "use of fake-main definition"" >&5
# Check whether --enable-fake-main or --disable-fake-main was given.
if test "${enable_fake_main+set}" = set; then
enableval="$enable_fake_main"
@ -4726,17 +4730,17 @@ fi
ac_safe=`echo "ffi.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for ffi.h""... $ac_c" 1>&6
echo "configure:4730: checking for ffi.h" >&5
echo "configure:4734: checking for ffi.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
#line 4735 "configure"
#line 4739 "configure"
#include "confdefs.h"
#include <ffi.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:4744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -4760,9 +4764,9 @@ fi
echo $ac_n "checking "for forwarding callback in runtime"""... $ac_c" 1>&6
echo "configure:4764: checking "for forwarding callback in runtime"" >&5
echo "configure:4768: checking "for forwarding callback in runtime"" >&5
cat > conftest.$ac_ext <<EOF
#line 4766 "configure"
#line 4770 "configure"
#include "confdefs.h"
#include <objc/objc-api.h>
EOF
@ -4780,17 +4784,17 @@ for ac_hdr in callback.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:4784: checking for $ac_hdr" >&5
echo "configure:4788: checking for $ac_hdr" >&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
#line 4789 "configure"
#line 4793 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:4798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -4819,7 +4823,7 @@ done
echo $ac_n "checking "FFI library usage"""... $ac_c" 1>&6
echo "configure:4823: checking "FFI library usage"" >&5
echo "configure:4827: checking "FFI library usage"" >&5
WITH_FFI=none
if test $enable_libffi = yes; then
cat >> confdefs.h <<\EOF
@ -4884,7 +4888,7 @@ fi
# Extract the first word of "xml2-config", so it can be a program name with args.
set dummy xml2-config; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:4888: checking for $ac_word" >&5
echo "configure:4892: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_XML2_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -4921,7 +4925,7 @@ fi
# Extract the first word of "xml-config", so it can be a program name with args.
set dummy xml-config; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:4925: checking for $ac_word" >&5
echo "configure:4929: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_XML_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -4959,7 +4963,7 @@ fi
fi
min_xml_version=2.2.3
echo $ac_n "checking for libxml - version >= $min_xml_version""... $ac_c" 1>&6
echo "configure:4963: checking for libxml - version >= $min_xml_version" >&5
echo "configure:4967: checking for libxml - version >= $min_xml_version" >&5
no_xml=""
if test "$XML_CONFIG" = "no" ; then
no_xml=yes
@ -4982,7 +4986,7 @@ echo "configure:4963: checking for libxml - version >= $min_xml_version" >&5
echo $ac_n "cross compiling; assumed OK... $ac_c"
else
cat > conftest.$ac_ext <<EOF
#line 4986 "configure"
#line 4990 "configure"
#include "confdefs.h"
#include <stdlib.h>
@ -5057,7 +5061,7 @@ main()
}
EOF
if { (eval echo configure:5061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
@ -5162,17 +5166,17 @@ if test $enable_openssl = yes; then
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5166: checking for $ac_hdr" >&5
echo "configure:5170: checking for $ac_hdr" >&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
#line 5171 "configure"
#line 5175 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:5180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -5205,7 +5209,7 @@ done
ssl_ok=no
else
echo $ac_n "checking for CRYPTO_malloc in -lcrypto""... $ac_c" 1>&6
echo "configure:5209: checking for CRYPTO_malloc in -lcrypto" >&5
echo "configure:5213: checking for CRYPTO_malloc in -lcrypto" >&5
ac_lib_var=`echo crypto'_'CRYPTO_malloc | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -5213,7 +5217,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lcrypto $LIBS"
cat > conftest.$ac_ext <<EOF
#line 5217 "configure"
#line 5221 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -5224,7 +5228,7 @@ int main() {
CRYPTO_malloc()
; return 0; }
EOF
if { (eval echo configure:5228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -5249,7 +5253,7 @@ fi
base_libs="$LIBS"
LIBS="$LIBS -lcrypto"
echo $ac_n "checking for ssl2_clear in -lssl""... $ac_c" 1>&6
echo "configure:5253: checking for ssl2_clear in -lssl" >&5
echo "configure:5257: checking for ssl2_clear in -lssl" >&5
ac_lib_var=`echo ssl'_'ssl2_clear | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -5257,7 +5261,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lssl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 5261 "configure"
#line 5265 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -5268,7 +5272,7 @@ int main() {
ssl2_clear()
; return 0; }
EOF
if { (eval echo configure:5272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -5298,7 +5302,7 @@ EOF
fi
echo $ac_n "checking for des_setkey in -lcipher""... $ac_c" 1>&6
echo "configure:5302: checking for des_setkey in -lcipher" >&5
echo "configure:5306: checking for des_setkey in -lcipher" >&5
ac_lib_var=`echo cipher'_'des_setkey | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -5306,7 +5310,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lcipher $LIBS"
cat > conftest.$ac_ext <<EOF
#line 5310 "configure"
#line 5314 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -5317,7 +5321,7 @@ int main() {
des_setkey()
; return 0; }
EOF
if { (eval echo configure:5321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -5387,17 +5391,17 @@ for ac_hdr in gmp.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5391: checking for $ac_hdr" >&5
echo "configure:5395: checking for $ac_hdr" >&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
#line 5396 "configure"
#line 5400 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:5405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -5425,7 +5429,7 @@ done
if test $ac_cv_header_gmp_h = yes; then
echo $ac_n "checking for mpf_abs in -lgmp""... $ac_c" 1>&6
echo "configure:5429: checking for mpf_abs in -lgmp" >&5
echo "configure:5433: checking for mpf_abs in -lgmp" >&5
ac_lib_var=`echo gmp'_'mpf_abs | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -5433,7 +5437,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lgmp $LIBS"
cat > conftest.$ac_ext <<EOF
#line 5437 "configure"
#line 5441 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -5444,7 +5448,7 @@ int main() {
mpf_abs()
; return 0; }
EOF
if { (eval echo configure:5448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -5467,7 +5471,7 @@ fi
if test "$gmp_ok" = no; then
echo $ac_n "checking for __gmpf_abs in -lgmp""... $ac_c" 1>&6
echo "configure:5471: checking for __gmpf_abs in -lgmp" >&5
echo "configure:5475: checking for __gmpf_abs in -lgmp" >&5
ac_lib_var=`echo gmp'_'__gmpf_abs | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -5475,7 +5479,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lgmp $LIBS"
cat > conftest.$ac_ext <<EOF
#line 5479 "configure"
#line 5483 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -5486,7 +5490,7 @@ int main() {
__gmpf_abs()
; return 0; }
EOF
if { (eval echo configure:5490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -5528,12 +5532,12 @@ fi
for ac_func in iconv
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:5532: checking for $ac_func" >&5
echo "configure:5536: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 5537 "configure"
#line 5541 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -5556,7 +5560,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:5560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -5598,7 +5602,7 @@ fi
# BSDs install this lib as libgiconv
echo $ac_n "checking for main in -lgiconv""... $ac_c" 1>&6
echo "configure:5602: checking for main in -lgiconv" >&5
echo "configure:5606: checking for main in -lgiconv" >&5
ac_lib_var=`echo giconv'_'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
@ -5606,14 +5610,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lgiconv $LIBS"
cat > conftest.$ac_ext <<EOF
#line 5610 "configure"
#line 5614 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -5651,7 +5655,7 @@ EOF
else
echo $ac_n "checking for main in -liconv""... $ac_c" 1>&6
echo "configure:5655: checking for main in -liconv" >&5
echo "configure:5659: checking for main in -liconv" >&5
ac_lib_var=`echo iconv'_'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
@ -5659,14 +5663,14 @@ else
ac_save_LIBS="$LIBS"
LIBS="-liconv $LIBS"
cat > conftest.$ac_ext <<EOF
#line 5663 "configure"
#line 5667 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
if { (eval echo configure:5670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -5712,7 +5716,7 @@ subdirs="Source/mframe"
# Record the version
#--------------------------------------------------------------------
echo $ac_n "checking for the version of gnustep-base we are compiling""... $ac_c" 1>&6
echo "configure:5716: checking for the version of gnustep-base we are compiling" >&5
echo "configure:5720: checking for the version of gnustep-base we are compiling" >&5
if test -f "Version"; then
. ./Version
fi