ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/configure
(Generate patch)

Comparing gvpe/configure (file contents):
Revision 1.12 by pcg, Sat Jan 17 14:50:40 2004 UTC vs.
Revision 1.13 by pcg, Sat Jan 17 15:43:02 2004 UTC

4566cat >>confdefs.h <<\_ACEOF 4566cat >>confdefs.h <<\_ACEOF
4567#define _GNU_SOURCE 1 4567#define _GNU_SOURCE 1
4568_ACEOF 4568_ACEOF
4569 4569
4570 4570
4571cat >>confdefs.h <<\_ACEOF 4571# do NOT define POSIX_SOURCE, sicne this clashes with many BSDs
4572#define __USE_BSD 1
4573_ACEOF
4574
4575 4572
4576ALL_LINGUAS="" 4573ALL_LINGUAS=""
4577 4574
4578ac_ext=c 4575ac_ext=c
4579ac_cpp='$CPP $CPPFLAGS' 4576ac_cpp='$CPP $CPPFLAGS'
6391else 6388else
6392 RANLIB="$ac_cv_prog_RANLIB" 6389 RANLIB="$ac_cv_prog_RANLIB"
6393fi 6390fi
6394 6391
6395 6392
6396
6397 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
6398echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
6399if test "${ac_cv_lib_cposix_strerror+set}" = set; then
6400 echo $ECHO_N "(cached) $ECHO_C" >&6
6401else
6402 ac_check_lib_save_LIBS=$LIBS
6403LIBS="-lcposix $LIBS"
6404cat >conftest.$ac_ext <<_ACEOF
6405/* confdefs.h. */
6406_ACEOF
6407cat confdefs.h >>conftest.$ac_ext
6408cat >>conftest.$ac_ext <<_ACEOF
6409/* end confdefs.h. */
6410
6411/* Override any gcc2 internal prototype to avoid an error. */
6412#ifdef __cplusplus
6413extern "C"
6414#endif
6415/* We use char because int might match the return type of a gcc2
6416 builtin and then its argument prototype would still apply. */
6417char strerror ();
6418int
6419main ()
6420{
6421strerror ();
6422 ;
6423 return 0;
6424}
6425_ACEOF
6426rm -f conftest.$ac_objext conftest$ac_exeext
6427if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6428 (eval $ac_link) 2>conftest.er1
6429 ac_status=$?
6430 grep -v '^ *+' conftest.er1 >conftest.err
6431 rm -f conftest.er1
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } &&
6435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 (eval $ac_try) 2>&5
6438 ac_status=$?
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); }; } &&
6441 { ac_try='test -s conftest$ac_exeext'
6442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6443 (eval $ac_try) 2>&5
6444 ac_status=$?
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); }; }; then
6447 ac_cv_lib_cposix_strerror=yes
6448else
6449 echo "$as_me: failed program was:" >&5
6450sed 's/^/| /' conftest.$ac_ext >&5
6451
6452ac_cv_lib_cposix_strerror=no
6453fi
6454rm -f conftest.err conftest.$ac_objext \
6455 conftest$ac_exeext conftest.$ac_ext
6456LIBS=$ac_check_lib_save_LIBS
6457fi
6458echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
6459echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
6460if test $ac_cv_lib_cposix_strerror = yes; then
6461 LIBS="$LIBS -lcposix"
6462fi
6463
6464
6465
6466
6467# Check whether --enable-iftype or --disable-iftype was given. 6393# Check whether --enable-iftype or --disable-iftype was given.
6468if test "${enable_iftype+set}" = set; then 6394if test "${enable_iftype+set}" = set; then
6469 enableval="$enable_iftype" 6395 enableval="$enable_iftype"
6470 6396
6471 IFTYPE=`echo $enableval | sed s%/.*%%` 6397 IFTYPE=`echo $enableval | sed s%/.*%%`
7260 7186
7261 7187
7262 7188
7263 7189
7264 7190
7265
7266for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ 7191for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \
7267 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h arpa/inet.h \ 7192 sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \
7268 sys/mman.h netinet/in.h 7193 sys/mman.h netinet/in.h
7269do 7194do
7270as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7195as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7271if eval "test \"\${$as_ac_Header+set}\" = set"; then 7196if eval "test \"\${$as_ac_Header+set}\" = set"; then
7272 echo "$as_me:$LINENO: checking for $ac_header" >&5 7197 echo "$as_me:$LINENO: checking for $ac_header" >&5
7416 7341
7417 7342
7418 7343
7419 7344
7420 7345
7346
7421for ac_header in net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h 7347for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h
7422do 7348do
7423as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7349as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7424echo "$as_me:$LINENO: checking for $ac_header" >&5 7350echo "$as_me:$LINENO: checking for $ac_header" >&5
7425echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7351echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7426if eval "test \"\${$as_ac_Header+set}\" = set"; then 7352if eval "test \"\${$as_ac_Header+set}\" = set"; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines