3
# From configure.in Revision: 2.0
4
echo "Configuring for ePerl `./etc/newvers -l c -D eperl_version.c`"
7
for ac_dir in etc $srcdir/etc; do
8
if test -f $ac_dir/install-sh; then
10
ac_install_sh="$ac_aux_dir/install-sh -c"
12
elif test -f $ac_dir/install.sh; then
14
ac_install_sh="$ac_aux_dir/install.sh -c"
18
if test -z "$ac_aux_dir"; then
19
{ echo "configure: error: can not find install-sh or install.sh in etc $srcdir/etc" 1>&2; exit 1; }
21
ac_config_guess=$ac_aux_dir/config.guess
22
ac_config_sub=$ac_aux_dir/config.sub
23
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
3
# From configure.in Revision: 1.9
6
TERM_BOLD=`$shtool echo -e %B 2>/dev/null`
7
TERM_NORM=`$shtool echo -e %b 2>/dev/null`
9
EPERL_VERSION="`$shtool version -lc -d long eperl_version.c`"
10
echo "${TERM_BOLD}Configuring for ePerl ${EPERL_VERSION}${TERM_NORM}"
28
12
# Guess values for system-dependent variables and create Makefiles.
29
# Generated automatically using autoconf version 2.12
13
# Generated automatically using autoconf version 2.13
30
14
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
32
16
# This configure script is free software; the Free Software Foundation
532
517
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
533
518
ac_cpp='$CPP $CPPFLAGS'
534
519
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
535
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
520
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
536
521
cross_compiling=$ac_cv_prog_cc_cross
538
525
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
539
526
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
540
527
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
549
tmpdir=${TMPDIR-/tmp}
565
553
echo "$ac_t""" 1>&6
566
echo "$ac_t""__ CHECK: Configuration of Perl Language __" 1>&6
554
echo "$ac_t""${TERM_BOLD}CHECK: Configuration of Perl Language${TERM_NORM}" 1>&6
568
556
echo $ac_n "checking for Perl language""... $ac_c" 1>&6
569
echo "configure:570: checking for Perl language" >&5
557
echo "configure:558: checking for Perl language" >&5
570
558
# Check whether --with-perl or --without-perl was given.
571
559
if test "${with_perl+set}" = set; then
572
560
withval="$with_perl"
574
perlvers=`$perlprog -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
563
perlvers=`$perlprog -e 'printf "%.3f",$]'`
581
for dir in `echo $PATH | sed -e 's/:/ /g'` /tmp; do
568
for dir in `echo $PATH | sed -e 's/:/ /g'` $tmpdir; do
582
569
for perl in perl5 perl miniperl; do
583
570
if test -f "$dir/$perl"; then
584
571
if test -x "$dir/$perl"; then
586
version=`$perl -v | grep version | sed -e 's/.* version //' -e 's/ built.*//' -e 's/ with.*//'`
587
versionnum="`echo $version | sed -e 's/\.//g' -e 's/_//g'`"
588
versionnum=`expr $versionnum - $c`
589
echo "$versionnum $version $perl" >>$TMPFILE
572
perlprog="$dir/$perl"
573
if $perlprog -e 'require 5.003'; then
574
perlvers=`$perlprog -e 'printf "%.3f",$]'`
595
perlvers="`cat $TMPFILE | sort -u | tail -1 | cut '-d ' -f2`"
596
perlprog="`cat $TMPFILE | sort -u | tail -1 | cut '-d ' -f3`"
600
583
PATH_PERL=$perlprog
601
584
echo "$ac_t""$perlprog v$perlvers" 1>&6
603
5.003* | 5.004* | 5.005* | 5.006* )
606
echo "Latest Perl found on your system is $perlvers,"
607
echo "but at least Perl version 5.003 is required."
608
echo "In case the newer one is not in PATH, just use"
609
echo "the option --with-perl=/path/to/bin/perl to"
610
echo "provide the correct executable."
612
{ echo "configure: error: Perl version too old" 1>&2; exit 1; }
616
5.00[3-6]_[0-9][0-9] )
617
perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/_//'` ;;
619
perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/$/00/'` ;;
621
perlvnum=`echo $perlvers | sed -e 's/\.//' -e 's/_//'` ;;
585
if $perlprog -e 'require 5.003'; then
589
echo "Latest Perl found on your system is $perlvers,"
590
echo "but at least Perl version 5.003 is required."
591
echo "In case the newer one is not in PATH, just use"
592
echo "the option --with-perl=/path/to/bin/perl to"
593
echo "provide the correct executable."
595
{ echo "configure: error: Perl version too old" 1>&2; exit 1; }
627
600
perl_prog=$perlprog
628
601
perl_vers=$perlvers
633
604
if test -f $PATH_PERL; then
664
635
echo $ac_n "checking for Perl standard optimization flags""... $ac_c" 1>&6
665
echo "configure:666: checking for Perl standard optimization flags" >&5
636
echo "configure:637: checking for Perl standard optimization flags" >&5
666
637
perl_optimize="`$perl_prog -e 'use Config; print $Config{optimize}'`";
667
638
echo "$ac_t""$perl_optimize" 1>&6
670
641
echo $ac_n "checking for Perl standard compilation flags""... $ac_c" 1>&6
671
echo "configure:672: checking for Perl standard compilation flags" >&5
642
echo "configure:643: checking for Perl standard compilation flags" >&5
672
643
perl_ccflags="`$perl_prog -e 'use Config; print $Config{ccflags}'`";
674
645
*hpux* ) perl_ccflags="$perl_ccflags -Wp,-H32768" ;;
689
660
echo $ac_n "checking for Perl library files""... $ac_c" 1>&6
690
echo "configure:691: checking for Perl library files" >&5
661
echo "configure:662: checking for Perl library files" >&5
691
662
perl_libs="`$perl_prog -e 'use Config; print $Config{libs}'`"
692
663
echo "$ac_t""$perl_libs" 1>&6
695
666
echo $ac_n "checking for Perl architecture directory""... $ac_c" 1>&6
696
echo "configure:697: checking for Perl architecture directory" >&5
667
echo "configure:668: checking for Perl architecture directory" >&5
697
668
perl_archlib="`$perlprog -e 'use Config; print $Config{archlib}'`";
698
669
echo "$ac_t""$perl_archlib" 1>&6
701
672
echo $ac_n "checking for Perl dynamic loading support""... $ac_c" 1>&6
702
echo "configure:703: checking for Perl dynamic loading support" >&5
673
echo "configure:674: checking for Perl dynamic loading support" >&5
703
674
usedl="`$perlprog -e 'use Config; print $Config{usedl}'`";
746
717
echo "$ac_t""" 1>&6
747
echo "$ac_t""__ CHECK: System Build Environment __" 1>&6
718
echo "$ac_t""${TERM_BOLD}CHECK: System Build Environment${TERM_NORM}" 1>&6
749
720
echo $ac_n "checking for build user""... $ac_c" 1>&6
750
echo "configure:751: checking for build user" >&5
751
build_user="`$ac_aux_dir/buildinfo -n %u@%h%d`"
721
echo "configure:722: checking for build user" >&5
722
build_user="`$shtool echo -n -e %u@%h%d`"
753
724
echo "$ac_t""$build_user" 1>&6
755
726
echo $ac_n "checking for build time""... $ac_c" 1>&6
756
echo "configure:757: checking for build time" >&5
727
echo "configure:728: checking for build time" >&5
757
728
build_time_ctime="`date | sed -e 's/\n$//'`"
758
build_time_iso="`$ac_aux_dir/buildinfo -n '%D-%m-%Y'`"
729
build_time_iso="`$shtool echo -n -e '%D-%m-%Y'`"
759
730
echo "$ac_t""$build_time_iso" 1>&6
763
734
# Extract the first word of "gcc", so it can be a program name with args.
764
735
set dummy gcc; ac_word=$2
765
736
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
766
echo "configure:767: checking for $ac_word" >&5
737
echo "configure:738: checking for $ac_word" >&5
767
738
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
768
739
echo $ac_n "(cached) $ac_c" 1>&6
770
741
if test -n "$CC"; then
771
742
ac_cv_prog_CC="$CC" # Let the user override the test.
773
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
774
for ac_dir in $PATH; do
744
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
746
for ac_dir in $ac_dummy; do
775
747
test -z "$ac_dir" && ac_dir=.
776
748
if test -f $ac_dir/$ac_word; then
777
749
ac_cv_prog_CC="gcc"
792
764
# Extract the first word of "cc", so it can be a program name with args.
793
765
set dummy cc; ac_word=$2
794
766
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
795
echo "configure:796: checking for $ac_word" >&5
767
echo "configure:768: checking for $ac_word" >&5
796
768
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
797
769
echo $ac_n "(cached) $ac_c" 1>&6
799
771
if test -n "$CC"; then
800
772
ac_cv_prog_CC="$CC" # Let the user override the test.
802
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
774
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
803
775
ac_prog_rejected=no
804
for ac_dir in $PATH; do
777
for ac_dir in $ac_dummy; do
805
778
test -z "$ac_dir" && ac_dir=.
806
779
if test -f $ac_dir/$ac_word; then
807
780
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
836
809
echo "$ac_t""no" 1>&6
812
if test -z "$CC"; then
815
# Extract the first word of "cl", so it can be a program name with args.
816
set dummy cl; ac_word=$2
817
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
818
echo "configure:819: checking for $ac_word" >&5
819
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
820
echo $ac_n "(cached) $ac_c" 1>&6
822
if test -n "$CC"; then
823
ac_cv_prog_CC="$CC" # Let the user override the test.
825
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
827
for ac_dir in $ac_dummy; do
828
test -z "$ac_dir" && ac_dir=.
829
if test -f $ac_dir/$ac_word; then
838
if test -n "$CC"; then
839
echo "$ac_t""$CC" 1>&6
841
echo "$ac_t""no" 1>&6
839
846
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
842
849
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
843
echo "configure:844: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
850
echo "configure:851: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
846
853
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
847
854
ac_cpp='$CPP $CPPFLAGS'
848
855
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
849
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
856
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
850
857
cross_compiling=$ac_cv_prog_cc_cross
852
cat > conftest.$ac_ext <<EOF
853
#line 854 "configure"
859
cat > conftest.$ac_ext << EOF
861
#line 862 "configure"
854
862
#include "confdefs.h"
855
864
main(){return(0);}
857
if { (eval echo configure:858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
866
if { (eval echo configure:867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
858
867
ac_cv_prog_cc_works=yes
859
868
# If we can't run a trivial program, we are probably using a cross compiler.
860
869
if (./conftest; exit) 2>/dev/null; then
868
877
ac_cv_prog_cc_works=no
881
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
882
ac_cpp='$CPP $CPPFLAGS'
883
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
884
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
885
cross_compiling=$ac_cv_prog_cc_cross
872
887
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
873
888
if test $ac_cv_prog_cc_works = no; then
874
889
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
876
891
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
877
echo "configure:878: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
892
echo "configure:893: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
878
893
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
879
894
cross_compiling=$ac_cv_prog_cc_cross
881
896
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
882
echo "configure:883: checking whether we are using GNU C" >&5
897
echo "configure:898: checking whether we are using GNU C" >&5
883
898
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
884
899
echo $ac_n "(cached) $ac_c" 1>&6
900
915
if test $ac_cv_prog_gcc = yes; then
902
ac_test_CFLAGS="${CFLAGS+set}"
903
ac_save_CFLAGS="$CFLAGS"
905
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
906
echo "configure:907: checking whether ${CC-cc} accepts -g" >&5
921
ac_test_CFLAGS="${CFLAGS+set}"
922
ac_save_CFLAGS="$CFLAGS"
924
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
925
echo "configure:926: checking whether ${CC-cc} accepts -g" >&5
907
926
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
908
927
echo $ac_n "(cached) $ac_c" 1>&6
920
939
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
921
if test "$ac_test_CFLAGS" = set; then
922
CFLAGS="$ac_save_CFLAGS"
923
elif test $ac_cv_prog_cc_g = yes; then
940
if test "$ac_test_CFLAGS" = set; then
941
CFLAGS="$ac_save_CFLAGS"
942
elif test $ac_cv_prog_cc_g = yes; then
943
if test "$GCC" = yes; then
949
if test "$GCC" = yes; then
930
test "${CFLAGS+set}" = set || CFLAGS="-g"
933
956
# Extract the first word of "ranlib", so it can be a program name with args.
934
957
set dummy ranlib; ac_word=$2
935
958
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
936
echo "configure:937: checking for $ac_word" >&5
959
echo "configure:960: checking for $ac_word" >&5
937
960
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
938
961
echo $ac_n "(cached) $ac_c" 1>&6
940
963
if test -n "$RANLIB"; then
941
964
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
943
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
944
for ac_dir in $PATH; do
966
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
968
for ac_dir in $ac_dummy; do
945
969
test -z "$ac_dir" && ac_dir=.
946
970
if test -f $ac_dir/$ac_word; then
947
971
ac_cv_prog_RANLIB="ranlib"
962
986
# Extract the first word of "ar", so it can be a program name with args.
963
987
set dummy ar; ac_word=$2
964
988
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
965
echo "configure:966: checking for $ac_word" >&5
989
echo "configure:990: checking for $ac_word" >&5
966
990
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
967
991
echo $ac_n "(cached) $ac_c" 1>&6
969
993
if test -n "$AR"; then
970
994
ac_cv_prog_AR="$AR" # Let the user override the test.
972
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
973
for ac_dir in $PATH; do
996
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
998
for ac_dir in $ac_dummy; do
974
999
test -z "$ac_dir" && ac_dir=.
975
1000
if test -f $ac_dir/$ac_word; then
976
1001
ac_cv_prog_AR="ar"
990
1015
# Extract the first word of "size", so it can be a program name with args.
991
1016
set dummy size; ac_word=$2
992
1017
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
993
echo "configure:994: checking for $ac_word" >&5
1018
echo "configure:1019: checking for $ac_word" >&5
994
1019
if eval "test \"`echo '$''{'ac_cv_prog_SIZE'+set}'`\" = set"; then
995
1020
echo $ac_n "(cached) $ac_c" 1>&6
997
1022
if test -n "$SIZE"; then
998
1023
ac_cv_prog_SIZE="$SIZE" # Let the user override the test.
1000
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1001
for ac_dir in $PATH; do
1025
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1027
for ac_dir in $ac_dummy; do
1002
1028
test -z "$ac_dir" && ac_dir=.
1003
1029
if test -f $ac_dir/$ac_word; then
1004
1030
ac_cv_prog_SIZE="size"
1096
1122
SET_MAKE="MAKE=${MAKE-make}"
1099
# Find a good install program. We prefer a C program (faster),
1100
# so one script is as good as another. But avoid the broken or
1101
# incompatible versions:
1102
# SysV /etc/install, /usr/sbin/install
1103
# SunOS /usr/etc/install
1104
# IRIX /sbin/install
1106
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1107
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1108
# ./install, which can be erroneously created by make from ./install.sh.
1109
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1110
echo "configure:1111: checking for a BSD compatible install" >&5
1111
if test -z "$INSTALL"; then
1112
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1113
echo $ac_n "(cached) $ac_c" 1>&6
1115
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
1116
for ac_dir in $PATH; do
1117
# Account for people who put trailing slashes in PATH elements.
1119
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1121
# OSF1 and SCO ODT 3.0 have their own names for install.
1122
for ac_prog in ginstall installbsd scoinst install; do
1123
if test -f $ac_dir/$ac_prog; then
1124
if test $ac_prog = install &&
1125
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1126
# AIX install. It has an incompatible calling convention.
1127
# OSF/1 installbsd also uses dspmsg, but is usable.
1130
ac_cv_path_install="$ac_dir/$ac_prog -c"
1141
if test "${ac_cv_path_install+set}" = set; then
1142
INSTALL="$ac_cv_path_install"
1144
# As a last resort, use the slow shell script. We don't cache a
1145
# path for INSTALL within a source directory, because that will
1146
# break other packages using the cache if that directory is
1147
# removed, or if the path is relative.
1148
INSTALL="$ac_install_sh"
1151
echo "$ac_t""$INSTALL" 1>&6
1153
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1154
# It thinks the first close brace ends the variable substitution.
1155
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1157
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1159
INSTALL_DATA='${INSTALL} -m 644'
1160
INSTALL_PROGRAM="${INSTALL_PROGRAM} -m 755"
1164
1127
echo "$ac_t""" 1>&6
1165
echo "$ac_t""__ CHECK: Characteristic of System Headers and Libraries __" 1>&6
1128
echo "$ac_t""${TERM_BOLD}CHECK: Characteristic of System Headers and Libraries${TERM_NORM}" 1>&6
1167
1130
echo $ac_n "checking for working const""... $ac_c" 1>&6
1168
echo "configure:1169: checking for working const" >&5
1131
echo "configure:1132: checking for working const" >&5
1169
1132
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1170
1133
echo $ac_n "(cached) $ac_c" 1>&6
1172
1135
cat > conftest.$ac_ext <<EOF
1173
#line 1174 "configure"
1136
#line 1137 "configure"
1174
1137
#include "confdefs.h"
1178
1141
/* Ultrix mips cc rejects this. */
1179
typedef int charset[2]; const charset x;
1142
typedef int charset[2]; const charset x = {0,0};
1180
1143
/* SunOS 4.1.1 cc rejects this. */
1181
1144
char const *const *ccp;
1255
1218
# On the NeXT, cc -E runs the code through the compiler's parser,
1256
1219
# not just through cpp.
1257
1220
cat > conftest.$ac_ext <<EOF
1258
#line 1259 "configure"
1221
#line 1222 "configure"
1259
1222
#include "confdefs.h"
1260
1223
#include <assert.h>
1263
1226
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1264
{ (eval echo configure:1265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1265
ac_err=`grep -v '^ *+' conftest.out`
1227
{ (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1228
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1266
1229
if test -z "$ac_err"; then
1272
1235
rm -rf conftest*
1273
1236
CPP="${CC-cc} -E -traditional-cpp"
1274
1237
cat > conftest.$ac_ext <<EOF
1275
#line 1276 "configure"
1276
#include "confdefs.h"
1280
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1281
{ (eval echo configure:1282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1282
ac_err=`grep -v '^ *+' conftest.out`
1238
#line 1239 "configure"
1239
#include "confdefs.h"
1243
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1244
{ (eval echo configure:1245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1245
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1246
if test -z "$ac_err"; then
1250
echo "configure: failed program was:" >&5
1251
cat conftest.$ac_ext >&5
1253
CPP="${CC-cc} -nologo -E"
1254
cat > conftest.$ac_ext <<EOF
1255
#line 1256 "configure"
1256
#include "confdefs.h"
1260
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1261
{ (eval echo configure:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1262
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1283
1263
if test -z "$ac_err"; then
1409
1391
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1410
1392
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1411
echo "configure:1412: checking for $ac_hdr" >&5
1393
echo "configure:1394: checking for $ac_hdr" >&5
1412
1394
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1413
1395
echo $ac_n "(cached) $ac_c" 1>&6
1415
1397
cat > conftest.$ac_ext <<EOF
1416
#line 1417 "configure"
1398
#line 1399 "configure"
1417
1399
#include "confdefs.h"
1418
1400
#include <$ac_hdr>
1420
1402
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1421
{ (eval echo configure:1422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1422
ac_err=`grep -v '^ *+' conftest.out`
1403
{ (eval echo configure:1404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1404
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1423
1405
if test -z "$ac_err"; then
1424
1406
rm -rf conftest*
1425
1407
eval "ac_cv_header_$ac_safe=yes"
1480
1462
for ac_func in memmove
1482
1464
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1483
echo "configure:1484: checking for $ac_func" >&5
1465
echo "configure:1466: checking for $ac_func" >&5
1484
1466
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1485
1467
echo $ac_n "(cached) $ac_c" 1>&6
1487
1469
cat > conftest.$ac_ext <<EOF
1488
#line 1489 "configure"
1470
#line 1471 "configure"
1489
1471
#include "confdefs.h"
1490
1472
/* System header to define __stub macros and hopefully few prototypes,
1491
1473
which can conflict with char $ac_func(); below. */
1535
1517
for ac_func in seteuid
1537
1519
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1538
echo "configure:1539: checking for $ac_func" >&5
1520
echo "configure:1521: checking for $ac_func" >&5
1539
1521
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1540
1522
echo $ac_n "(cached) $ac_c" 1>&6
1542
1524
cat > conftest.$ac_ext <<EOF
1543
#line 1544 "configure"
1525
#line 1526 "configure"
1544
1526
#include "confdefs.h"
1545
1527
/* System header to define __stub macros and hopefully few prototypes,
1546
1528
which can conflict with char $ac_func(); below. */
1590
1572
for ac_func in setegid
1592
1574
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1593
echo "configure:1594: checking for $ac_func" >&5
1575
echo "configure:1576: checking for $ac_func" >&5
1594
1576
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1595
1577
echo $ac_n "(cached) $ac_c" 1>&6
1597
1579
cat > conftest.$ac_ext <<EOF
1598
#line 1599 "configure"
1580
#line 1581 "configure"
1599
1581
#include "confdefs.h"
1600
1582
/* System header to define __stub macros and hopefully few prototypes,
1601
1583
which can conflict with char $ac_func(); below. */
1645
1627
for ac_func in strdup
1647
1629
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1648
echo "configure:1649: checking for $ac_func" >&5
1630
echo "configure:1631: checking for $ac_func" >&5
1649
1631
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1650
1632
echo $ac_n "(cached) $ac_c" 1>&6
1652
1634
cat > conftest.$ac_ext <<EOF
1653
#line 1654 "configure"
1635
#line 1636 "configure"
1654
1636
#include "confdefs.h"
1655
1637
/* System header to define __stub macros and hopefully few prototypes,
1656
1638
which can conflict with char $ac_func(); below. */
1726
1708
# Ultrix sh set writes to stderr and can't be redirected directly,
1727
1709
# and sets the high bit in the cache file unless we assign to the vars.
1729
case `(ac_space=' '; set) 2>&1` in
1711
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1731
1713
# `set' does not quote correctly, so add quotes (double-quote substitution
1732
1714
# turns \\\\ into \\, and sed turns \\ into \).
1793
1775
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1794
1776
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1795
1777
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1796
echo "$CONFIG_STATUS generated by autoconf version 2.12"
1778
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1798
1780
-help | --help | --hel | --he | --h)
1799
1781
echo "\$ac_cs_usage"; exit 0 ;;