Changeset 66be513 in git
- Timestamp:
- Apr 16, 1998, 6:17:06 PM (25 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 1b45a8009e4a6e6a33d5a3802fd0da9da4775a1c
- Parents:
- eea2b09531a1a40340381fac610aa2b5c7ca2f30
- Location:
- MP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
MP/MP/ChangeLog
reea2b0 r66be513 1 1998-04-16 Olaf Bachmann <obachman@mathematik.uni-kl.de> 2 3 * MP_Util.c (IMP_GetCmdlineArg): Allow long option names 4 5 * MP_TcpTransp.c (open_tcp_launch_mode): When long option names 6 were used for specification of MPapplication, use long option 7 names for MP options which are appended to application. 8 1 9 Mon Jun 30 17:46:17 1997 Olaf Bachmann <obachman@ratchwum.mathematik.uni-kl.de (Olaf Bachmann)> 2 10 -
MP/MP/MP_TcpTransp.c
reea2b0 r66be513 190 190 * local host. 191 191 ***********************************************************************/ 192 193 /* Returns a dupliucate of string `str' in which string `replace_this' 194 is replaced by string `replace_by_that' provided all strings are != 195 NULL */ 196 #ifdef __STDC__ 197 static char* strdup_replace(const char* str, 198 const char* replace_this, 199 const char* replace_by_that) 200 #else 201 static char* strdup_replace(str, replace_this, replace_by_that) 202 const char* str; 203 const char* replace_this; 204 const char* replace_by_that; 205 #endif 206 { 207 char *sub, *ret; 208 209 if (str == NULL) return NULL; 210 211 if (replace_this != NULL && 212 (sub = strstr(str, replace_this)) != NULL && 213 replace_by_that != NULL) 214 { 215 ret = IMP_RawMemAllocFnc((strlen(str) 216 + strlen(replace_by_that) - strlen(replace_this) 217 + 1)*sizeof(char)); 218 strcpy(ret, str); 219 sprintf((void*) ret + ((void*) sub - (void*) str), 220 "%s%s", replace_by_that, &sub[strlen(replace_this)]); 221 } 222 else 223 { 224 ret = IMP_RawMemAllocFnc((strlen(str) + 1)*sizeof(char)); 225 strcpy(ret, str); 226 } 227 return ret; 228 } 229 230 #ifdef __STDC__ 231 static int UsesLongOpt(int argc, char** argv, const char* opt) 232 #else 233 static int UsesLongOpt(argc, argv, opt) 234 int argc; 235 char** argv; 236 const char* opt; 237 #endif 238 { 239 int i=0; 240 if (opt == NULL) return -1; 241 242 while (i < argc && (argv[i][0] != '-' || strstr(argv[i], opt))) i++; 243 244 if (i >= argc) return -1; 245 if (argv[i][1] == '-') return 1; 246 return 0; 247 } 248 192 249 #ifdef __STDC__ 193 250 MP_Status_t open_tcp_launch_mode(MP_Link_pt link, … … 372 429 #else /* not __WIN32__ */ 373 430 374 char *rsh_argv[5], myhost[64], cport[5], **dmy_args, *appstr ;431 char *rsh_argv[5], myhost[64], cport[5], **dmy_args, *appstr, *sub; 375 432 int rsh_pid = -1, i; 376 433 MP_TCP_t *tcp_rec; … … 445 502 446 503 sprintf(cport, "%hd", tcp_rec->peerport); 447 448 appstr = (char*)IMP_RawMemAllocFnc(strlen(rsh_argv[3]) + 105); 449 strcpy(appstr, rsh_argv[3]); 450 strcat(appstr, " -MPtransp TCP -MPmode connect -MPhost "); 451 strcat(appstr, myhost); 452 strcat(appstr, " -MPport "); 453 strcat(appstr, cport); 504 505 if (strstr(rsh_argv[3], "$MPport") != NULL || 506 strstr(rsh_argv[3], "$MPhost") != NULL) 507 { 508 sub = strdup_replace(rsh_argv[3], "$MPport", cport); 509 appstr = strdup_replace(sub, "$MPhost", myhost); 510 IMP_RawMemFreeFnc(sub); 511 } 512 else 513 { 514 appstr = (char*)IMP_RawMemAllocFnc(strlen(rsh_argv[3]) + 110); 515 strcpy(appstr, rsh_argv[3]); 516 517 if (UsesLongOpt(argc, argv, "MPapplication") > 0) 518 { 519 strcat(appstr, " --MPtransp TCP --MPmode connect --MPhost "); 520 strcat(appstr, myhost); 521 strcat(appstr, " --MPport "); 522 strcat(appstr, cport); 523 } 524 else 525 { 526 strcat(appstr, " -MPtransp TCP -MPmode connect -MPhost "); 527 strcat(appstr, myhost); 528 strcat(appstr, " -MPport "); 529 strcat(appstr, cport); 530 } 531 532 } 454 533 455 534 rsh_argv[3] = appstr; -
MP/MP/MP_Util.c
reea2b0 r66be513 38 38 39 39 #ifndef lint 40 static char vcid[] = "@(#) $Id: MP_Util.c,v 1. 1.1.1 1997-05-25 20:31:47obachman Exp $";40 static char vcid[] = "@(#) $Id: MP_Util.c,v 1.2 1998-04-16 16:17:06 obachman Exp $"; 41 41 #endif /* lint */ 42 42 43 43 #include "MP.h" 44 45 #include <string.h> 44 46 45 47 #ifndef __WIN32__ … … 174 176 { 175 177 int i; 176 178 177 179 #ifdef MP_DEBUG 178 180 fprintf(stderr, "IMP_GetCmdlineArg: entering\n"); 179 181 fflush(stderr); 180 182 #endif 183 while (*cmd == '-') cmd++; 181 184 182 185 for (i = 0; i < argc; i++) 183 if (str cmp(argv[i], cmd) == 0)186 if (strstr(argv[i], cmd) != NULL && (*(argv[i]) == '-')) 184 187 if (i+1 == argc) 185 188 return NULL; 186 189 else 187 190 return argv[i+1]; 188 191 189 192 #ifdef MP_DEBUG -
MP/configure
reea2b0 r66be513 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2. 94 # Generated automatically using autoconf version 2.12 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 100 100 subdirs= 101 101 MFLAGS= MAKEFLAGS= 102 # Maximum number of lines to put in a shell here document. 103 ac_max_here_lines=12 102 104 103 105 ac_prev= … … 381 383 382 384 -version | --version | --versio | --versi | --vers) 383 echo "configure generated by autoconf version 2. 9"385 echo "configure generated by autoconf version 2.12" 384 386 exit 0 ;; 385 387 … … 483 485 484 486 # NLS nuisances. 485 # Only set LANG and LC_ALL to C if already set. 486 # These must not be set unconditionally because not all systems understand 487 # e.g. LANG=C (notably SCO). 487 # Only set these to C if already set. These must not be set unconditionally 488 # because not all systems understand e.g. LANG=C (notably SCO). 489 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 490 # Non-C LC_CTYPE values break the ctype check. 491 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 488 492 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 489 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 493 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 494 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 490 495 491 496 # confdefs.h avoids OS command line length limits that DEFS can exceed. … … 549 554 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 550 555 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 556 cross_compiling=$ac_cv_prog_cc_cross 551 557 552 558 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then … … 620 626 621 627 echo $ac_n "checking host system type""... $ac_c" 1>&6 628 echo "configure:629: checking host system type" >&5 622 629 623 630 host_alias=$host … … 634 641 635 642 host=`$ac_config_sub $host_alias` 636 host_cpu=`echo $host | sed 's/^\( .*\)-\(.*\)-\(.*\)$/\1/'`637 host_vendor=`echo $host | sed 's/^\( .*\)-\(.*\)-\(.*\)$/\2/'`638 host_os=`echo $host | sed 's/^\( .*\)-\(.*\)-\(.*\)$/\3/'`643 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 644 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 645 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 639 646 echo "$ac_t""$host" 1>&6 640 647 641 648 echo $ac_n "checking target system type""... $ac_c" 1>&6 649 echo "configure:650: checking target system type" >&5 642 650 643 651 target_alias=$target … … 651 659 652 660 target=`$ac_config_sub $target_alias` 653 target_cpu=`echo $target | sed 's/^\( .*\)-\(.*\)-\(.*\)$/\1/'`654 target_vendor=`echo $target | sed 's/^\( .*\)-\(.*\)-\(.*\)$/\2/'`655 target_os=`echo $target | sed 's/^\( .*\)-\(.*\)-\(.*\)$/\3/'`661 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 662 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 663 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 656 664 echo "$ac_t""$target" 1>&6 657 665 658 666 echo $ac_n "checking build system type""... $ac_c" 1>&6 667 echo "configure:668: checking build system type" >&5 659 668 660 669 build_alias=$build … … 668 677 669 678 build=`$ac_config_sub $build_alias` 670 build_cpu=`echo $build | sed 's/^\( .*\)-\(.*\)-\(.*\)$/\1/'`671 build_vendor=`echo $build | sed 's/^\( .*\)-\(.*\)-\(.*\)$/\2/'`672 build_os=`echo $build | sed 's/^\( .*\)-\(.*\)-\(.*\)$/\3/'`679 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 680 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 681 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 673 682 echo "$ac_t""$build" 1>&6 674 683 … … 682 691 683 692 684 echo $ac_n "checking for architecture identifier""... $ac_c" 1>&6 693 echo $ac_n "checking for architecture identifier""... $ac_c" 1>&6 694 echo "configure:695: checking for architecture identifier" >&5 685 695 if eval "test \"`echo '$''{'ac_cv_arch'+set}'`\" = set"; then 686 696 echo $ac_n "(cached) $ac_c" 1>&6 … … 702 712 set dummy ranlib; ac_word=$2 703 713 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 714 echo "configure:715: checking for $ac_word" >&5 704 715 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 705 716 echo $ac_n "(cached) $ac_c" 1>&6 … … 730 741 set dummy ar; ac_word=$2 731 742 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 743 echo "configure:744: checking for $ac_word" >&5 732 744 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 733 745 echo $ac_n "(cached) $ac_c" 1>&6 … … 783 795 set dummy gcc; ac_word=$2 784 796 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 797 echo "configure:798: checking for $ac_word" >&5 785 798 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 786 799 echo $ac_n "(cached) $ac_c" 1>&6 … … 811 824 set dummy cc; ac_word=$2 812 825 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 826 echo "configure:827: checking for $ac_word" >&5 813 827 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 814 828 echo $ac_n "(cached) $ac_c" 1>&6 … … 857 871 fi 858 872 873 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 874 echo "configure:875: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 875 876 ac_ext=c 877 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 878 ac_cpp='$CPP $CPPFLAGS' 879 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 880 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 881 cross_compiling=$ac_cv_prog_cc_cross 882 883 cat > conftest.$ac_ext <<EOF 884 #line 885 "configure" 885 #include "confdefs.h" 886 main(){return(0);} 887 EOF 888 if { (eval echo configure:889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 889 ac_cv_prog_cc_works=yes 890 # If we can't run a trivial program, we are probably using a cross compiler. 891 if (./conftest; exit) 2>/dev/null; then 892 ac_cv_prog_cc_cross=no 893 else 894 ac_cv_prog_cc_cross=yes 895 fi 896 else 897 echo "configure: failed program was:" >&5 898 cat conftest.$ac_ext >&5 899 ac_cv_prog_cc_works=no 900 fi 901 rm -fr conftest* 902 903 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 904 if test $ac_cv_prog_cc_works = no; then 905 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 906 fi 907 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 908 echo "configure:909: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 909 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 910 cross_compiling=$ac_cv_prog_cc_cross 911 859 912 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 913 echo "configure:914: checking whether we are using GNU C" >&5 860 914 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 861 915 echo $ac_n "(cached) $ac_c" 1>&6 … … 866 920 #endif 867 921 EOF 868 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure: 869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then922 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 869 923 ac_cv_prog_gcc=yes 870 924 else … … 874 928 875 929 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 930 876 931 if test $ac_cv_prog_gcc = yes; then 877 932 GCC=yes 878 if test "${CFLAGS+set}" != set; then 879 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 880 if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then 933 ac_test_CFLAGS="${CFLAGS+set}" 934 ac_save_CFLAGS="$CFLAGS" 935 CFLAGS= 936 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 937 echo "configure:938: checking whether ${CC-cc} accepts -g" >&5 938 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 881 939 echo $ac_n "(cached) $ac_c" 1>&6 882 940 else 883 941 echo 'void f(){}' > conftest.c 884 942 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 885 ac_cv_prog_gcc_g=yes 886 else 887 ac_cv_prog_gcc_g=no 888 fi 889 rm -f conftest* 890 891 fi 892 893 echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6 894 if test $ac_cv_prog_gcc_g = yes; then 895 CFLAGS="-g -O" 896 else 897 CFLAGS="-O" 898 fi 943 ac_cv_prog_cc_g=yes 944 else 945 ac_cv_prog_cc_g=no 946 fi 947 rm -f conftest* 948 949 fi 950 951 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 952 if test "$ac_test_CFLAGS" = set; then 953 CFLAGS="$ac_save_CFLAGS" 954 elif test $ac_cv_prog_cc_g = yes; then 955 CFLAGS="-g -O2" 956 else 957 CFLAGS="-O2" 899 958 fi 900 959 else … … 904 963 905 964 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 965 echo "configure:966: checking how to run the C preprocessor" >&5 906 966 # On Suns, sometimes $CPP names a directory. 907 967 if test -n "$CPP" && test -d "$CPP"; then … … 918 978 # not just through cpp. 919 979 cat > conftest.$ac_ext <<EOF 920 #line 9 21 "configure"980 #line 981 "configure" 921 981 #include "confdefs.h" 922 982 #include <assert.h> … … 924 984 EOF 925 985 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 926 { (eval echo configure:9 27: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }986 { (eval echo configure:987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 927 987 ac_err=`grep -v '^ *+' conftest.out` 928 988 if test -z "$ac_err"; then … … 930 990 else 931 991 echo "$ac_err" >&5 992 echo "configure: failed program was:" >&5 993 cat conftest.$ac_ext >&5 932 994 rm -rf conftest* 933 995 CPP="${CC-cc} -E -traditional-cpp" 934 996 cat > conftest.$ac_ext <<EOF 935 #line 9 36"configure"997 #line 998 "configure" 936 998 #include "confdefs.h" 937 999 #include <assert.h> … … 939 1001 EOF 940 1002 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 941 { (eval echo configure: 942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1003 { (eval echo configure:1004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 942 1004 ac_err=`grep -v '^ *+' conftest.out` 943 1005 if test -z "$ac_err"; then … … 945 1007 else 946 1008 echo "$ac_err" >&5 1009 echo "configure: failed program was:" >&5 1010 cat conftest.$ac_ext >&5 947 1011 rm -rf conftest* 948 1012 CPP=/lib/cpp … … 960 1024 961 1025 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1026 echo "configure:1027: checking for AIX" >&5 962 1027 cat > conftest.$ac_ext <<EOF 963 #line 964"configure"1028 #line 1029 "configure" 964 1029 #include "confdefs.h" 965 1030 #ifdef _AIX … … 1035 1100 1036 1101 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 1037 set dummy ${MAKE-make}; ac_make=$2 1102 echo "configure:1103: checking whether ${MAKE-make} sets \${MAKE}" >&5 1103 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1038 1104 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 1039 1105 echo $ac_n "(cached) $ac_c" 1>&6 … … 1060 1126 fi 1061 1127 1062 # If we cannot run a trivial program, we must be cross compiling.1063 echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&61064 if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then1065 echo $ac_n "(cached) $ac_c" 1>&61066 else1067 if test "$cross_compiling" = yes; then1068 ac_cv_c_cross=yes1069 else1070 cat > conftest.$ac_ext <<EOF1071 #line 1072 "configure"1072 #include "confdefs.h"1073 main(){return(0);}1074 EOF1075 { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }1076 if test -s conftest && (./conftest; exit) 2>/dev/null; then1077 ac_cv_c_cross=no1078 else1079 ac_cv_c_cross=yes1080 fi1081 fi1082 rm -fr conftest*1083 fi1084 1085 echo "$ac_t""$ac_cv_c_cross" 1>&61086 cross_compiling=$ac_cv_c_cross1087 1088 1128 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1129 echo "configure:1130: checking for ANSI C header files" >&5 1089 1130 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1090 1131 echo $ac_n "(cached) $ac_c" 1>&6 1091 1132 else 1092 1133 cat > conftest.$ac_ext <<EOF 1093 #line 1 094"configure"1134 #line 1135 "configure" 1094 1135 #include "confdefs.h" 1095 1136 #include <stdlib.h> … … 1099 1140 EOF 1100 1141 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1101 { (eval echo configure:11 02: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1142 { (eval echo configure:1143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1102 1143 ac_err=`grep -v '^ *+' conftest.out` 1103 1144 if test -z "$ac_err"; then … … 1106 1147 else 1107 1148 echo "$ac_err" >&5 1149 echo "configure: failed program was:" >&5 1150 cat conftest.$ac_ext >&5 1108 1151 rm -rf conftest* 1109 1152 ac_cv_header_stdc=no … … 1114 1157 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1115 1158 cat > conftest.$ac_ext <<EOF 1116 #line 11 17"configure"1159 #line 1160 "configure" 1117 1160 #include "confdefs.h" 1118 1161 #include <string.h> … … 1132 1175 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1133 1176 cat > conftest.$ac_ext <<EOF 1134 #line 11 35"configure"1177 #line 1178 "configure" 1135 1178 #include "confdefs.h" 1136 1179 #include <stdlib.h> … … 1152 1195 : 1153 1196 else 1154 cat > conftest.$ac_ext <<EOF1155 #line 11 56"configure"1197 cat > conftest.$ac_ext <<EOF 1198 #line 1199 "configure" 1156 1199 #include "confdefs.h" 1157 1200 #include <ctype.h> … … 1164 1207 1165 1208 EOF 1166 { (eval echo configure:1167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1167 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1168 : 1169 else 1209 if { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 1210 then 1211 : 1212 else 1213 echo "configure: failed program was:" >&5 1214 cat conftest.$ac_ext >&5 1215 rm -fr conftest* 1170 1216 ac_cv_header_stdc=no 1171 1217 fi 1172 fi1173 1218 rm -fr conftest* 1219 fi 1220 1174 1221 fi 1175 1222 fi … … 1184 1231 1185 1232 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 1233 echo "configure:1234: checking for pid_t" >&5 1186 1234 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 1187 1235 echo $ac_n "(cached) $ac_c" 1>&6 1188 1236 else 1189 1237 cat > conftest.$ac_ext <<EOF 1190 #line 1 191"configure"1238 #line 1239 "configure" 1191 1239 #include "confdefs.h" 1192 1240 #include <sys/types.h> 1193 1241 #if STDC_HEADERS 1194 1242 #include <stdlib.h> 1243 #include <stddef.h> 1195 1244 #endif 1196 1245 EOF 1197 1246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1198 egrep "pid_t " >/dev/null 2>&1; then1247 egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 1199 1248 rm -rf conftest* 1200 1249 ac_cv_type_pid_t=yes … … 1214 1263 fi 1215 1264 1216 ac_safe=`echo "vfork.h" | tr './\055' '___'`1265 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 1217 1266 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 1267 echo "configure:1268: checking for vfork.h" >&5 1218 1268 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1219 1269 echo $ac_n "(cached) $ac_c" 1>&6 1220 1270 else 1221 1271 cat > conftest.$ac_ext <<EOF 1222 #line 12 23 "configure"1272 #line 1273 "configure" 1223 1273 #include "confdefs.h" 1224 1274 #include <vfork.h> 1225 1275 EOF 1226 1276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1227 { (eval echo configure:12 28: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1277 { (eval echo configure:1278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1228 1278 ac_err=`grep -v '^ *+' conftest.out` 1229 1279 if test -z "$ac_err"; then … … 1232 1282 else 1233 1283 echo "$ac_err" >&5 1284 echo "configure: failed program was:" >&5 1285 cat conftest.$ac_ext >&5 1234 1286 rm -rf conftest* 1235 1287 eval "ac_cv_header_$ac_safe=no" … … 1248 1300 1249 1301 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 1250 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 1302 echo "configure:1303: checking for working vfork" >&5 1303 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 1251 1304 echo $ac_n "(cached) $ac_c" 1>&6 1252 1305 else 1253 1306 if test "$cross_compiling" = yes; then 1254 1307 echo $ac_n "checking for vfork""... $ac_c" 1>&6 1308 echo "configure:1309: checking for vfork" >&5 1255 1309 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 1256 1310 echo $ac_n "(cached) $ac_c" 1>&6 1257 1311 else 1258 1312 cat > conftest.$ac_ext <<EOF 1259 #line 1 260"configure"1313 #line 1314 "configure" 1260 1314 #include "confdefs.h" 1261 1315 /* System header to define __stub macros and hopefully few prototypes, … … 1263 1317 #include <assert.h> 1264 1318 /* Override any gcc2 internal prototype to avoid an error. */ 1319 /* We use char because int might match the return type of a gcc2 1320 builtin and then its argument prototype would still apply. */ 1265 1321 char vfork(); 1266 1322 1267 int main() { return 0; } 1268 int t() { 1323 int main() { 1269 1324 1270 1325 /* The GNU C library defines this for functions which it implements … … 1279 1334 ; return 0; } 1280 1335 EOF 1281 if { (eval echo configure:1 282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1336 if { (eval echo configure:1337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1282 1337 rm -rf conftest* 1283 1338 eval "ac_cv_func_vfork=yes" 1284 1339 else 1340 echo "configure: failed program was:" >&5 1341 cat conftest.$ac_ext >&5 1285 1342 rm -rf conftest* 1286 1343 eval "ac_cv_func_vfork=no" 1287 1344 fi 1288 1345 rm -f conftest* 1289 1290 fi 1346 fi 1347 1291 1348 if eval "test \"`echo '$ac_cv_func_'vfork`\" = yes"; then 1292 1349 echo "$ac_t""yes" 1>&6 … … 1297 1354 1298 1355 else 1299 cat > conftest.$ac_ext <<EOF1300 #line 13 01"configure"1356 cat > conftest.$ac_ext <<EOF 1357 #line 1358 "configure" 1301 1358 #include "confdefs.h" 1302 1359 /* Thanks to Paul Eggert for this test. */ … … 1326 1383 if (!child) { 1327 1384 child = vfork (); 1328 if (child < 0) 1385 if (child < 0) { 1329 1386 perror ("vfork"); 1387 _exit(2); 1388 } 1330 1389 if (!child) { 1331 1390 arg = getpid(); … … 1391 1450 } 1392 1451 EOF 1393 { (eval echo configure:1394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1394 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1395 ac_cv_func_vfork=yes 1396 else 1397 ac_cv_func_vfork=no 1398 fi 1452 if { (eval echo configure:1453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 1453 then 1454 ac_cv_func_vfork_works=yes 1455 else 1456 echo "configure: failed program was:" >&5 1457 cat conftest.$ac_ext >&5 1458 rm -fr conftest* 1459 ac_cv_func_vfork_works=no 1399 1460 fi 1400 1461 rm -fr conftest* 1401 1462 fi 1402 1463 1403 echo "$ac_t""$ac_cv_func_vfork" 1>&6 1404 if test $ac_cv_func_vfork = no; then 1464 fi 1465 1466 echo "$ac_t""$ac_cv_func_vfork_works" 1>&6 1467 if test $ac_cv_func_vfork_works = no; then 1405 1468 cat >> confdefs.h <<\EOF 1406 1469 #define vfork fork … … 1475 1538 1476 1539 if test "$ac_check_prog" = yes; then 1477 echo $ac_n "checking for -lm""... $ac_c" 1>&6 1478 ac_lib_var=`echo m_atof | tr '.-/+' '___p'` 1540 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1541 echo "configure:1542: checking for atof in -lm" >&5 1542 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1479 1543 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1480 1544 echo $ac_n "(cached) $ac_c" 1>&6 … … 1483 1547 LIBS="-lm $LIBS" 1484 1548 cat > conftest.$ac_ext <<EOF 1485 #line 1 486"configure"1549 #line 1550 "configure" 1486 1550 #include "confdefs.h" 1487 1551 /* Override any gcc2 internal prototype to avoid an error. */ 1552 /* We use char because int might match the return type of a gcc2 1553 builtin and then its argument prototype would still apply. */ 1488 1554 char atof(); 1489 1555 1490 int main() { return 0; } 1491 int t() { 1556 int main() { 1492 1557 atof() 1493 1558 ; return 0; } 1494 1559 EOF 1495 if { (eval echo configure:1 496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1560 if { (eval echo configure:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1496 1561 rm -rf conftest* 1497 1562 eval "ac_cv_lib_$ac_lib_var=yes" 1498 1563 else 1564 echo "configure: failed program was:" >&5 1565 cat conftest.$ac_ext >&5 1499 1566 rm -rf conftest* 1500 1567 eval "ac_cv_lib_$ac_lib_var=no" … … 1506 1573 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1507 1574 echo "$ac_t""yes" 1>&6 1508 ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1575 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1576 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1509 1577 cat >> confdefs.h <<EOF 1510 1578 #define $ac_tr_lib 1 … … 1517 1585 fi 1518 1586 1519 echo $ac_n "checking for -lbsd""... $ac_c" 1>&6 1520 ac_lib_var=`echo bsd_socket | tr '.-/+' '___p'` 1587 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1588 echo "configure:1589: checking for socket in -lbsd" >&5 1589 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1521 1590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1522 1591 echo $ac_n "(cached) $ac_c" 1>&6 … … 1525 1594 LIBS="-lbsd $LIBS" 1526 1595 cat > conftest.$ac_ext <<EOF 1527 #line 15 28"configure"1596 #line 1597 "configure" 1528 1597 #include "confdefs.h" 1529 1598 /* Override any gcc2 internal prototype to avoid an error. */ 1599 /* We use char because int might match the return type of a gcc2 1600 builtin and then its argument prototype would still apply. */ 1530 1601 char socket(); 1531 1602 1532 int main() { return 0; } 1533 int t() { 1603 int main() { 1534 1604 socket() 1535 1605 ; return 0; } 1536 1606 EOF 1537 if { (eval echo configure:1 538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1607 if { (eval echo configure:1608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1538 1608 rm -rf conftest* 1539 1609 eval "ac_cv_lib_$ac_lib_var=yes" 1540 1610 else 1611 echo "configure: failed program was:" >&5 1612 cat conftest.$ac_ext >&5 1541 1613 rm -rf conftest* 1542 1614 eval "ac_cv_lib_$ac_lib_var=no" … … 1548 1620 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1549 1621 echo "$ac_t""yes" 1>&6 1550 ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1622 ac_tr_lib=HAVE_LIB`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1623 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1551 1624 cat >> confdefs.h <<EOF 1552 1625 #define $ac_tr_lib 1 … … 1559 1632 fi 1560 1633 1561 echo $ac_n "checking for -lgmp""... $ac_c" 1>&6 1562 ac_lib_var=`echo gmp_mpz_init | tr '.-/+' '___p'` 1634 echo $ac_n "checking for mpz_init in -lgmp""... $ac_c" 1>&6 1635 echo "configure:1636: checking for mpz_init in -lgmp" >&5 1636 ac_lib_var=`echo gmp'_'mpz_init | sed 'y%./+-%__p_%'` 1563 1637 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1564 1638 echo $ac_n "(cached) $ac_c" 1>&6 … … 1567 1641 LIBS="-lgmp $LIBS" 1568 1642 cat > conftest.$ac_ext <<EOF 1569 #line 1 570"configure"1643 #line 1644 "configure" 1570 1644 #include "confdefs.h" 1571 1645 /* Override any gcc2 internal prototype to avoid an error. */ 1646 /* We use char because int might match the return type of a gcc2 1647 builtin and then its argument prototype would still apply. */ 1572 1648 char mpz_init(); 1573 1649 1574 int main() { return 0; } 1575 int t() { 1650 int main() { 1576 1651 mpz_init() 1577 1652 ; return 0; } 1578 1653 EOF 1579 if { (eval echo configure:1 580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1654 if { (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1580 1655 rm -rf conftest* 1581 1656 eval "ac_cv_lib_$ac_lib_var=yes" 1582 1657 else 1658 echo "configure: failed program was:" >&5 1659 cat conftest.$ac_ext >&5 1583 1660 rm -rf conftest* 1584 1661 eval "ac_cv_lib_$ac_lib_var=no" … … 1590 1667 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1591 1668 echo "$ac_t""yes" 1>&6 1592 ac_tr_lib=HAVE_LIB`echo gmp | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1669 ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1670 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1593 1671 cat >> confdefs.h <<EOF 1594 1672 #define $ac_tr_lib 1 … … 1609 1687 fi 1610 1688 1611 for ac_func in select socket gethostname gethostbyname strtol 1689 for ac_func in select socket gethostname gethostbyname strtol strstr 1612 1690 do 1613 1691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1692 echo "configure:1693: checking for $ac_func" >&5 1614 1693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1615 1694 echo $ac_n "(cached) $ac_c" 1>&6 1616 1695 else 1617 1696 cat > conftest.$ac_ext <<EOF 1618 #line 16 19"configure"1697 #line 1698 "configure" 1619 1698 #include "confdefs.h" 1620 1699 /* System header to define __stub macros and hopefully few prototypes, … … 1622 1701 #include <assert.h> 1623 1702 /* Override any gcc2 internal prototype to avoid an error. */ 1703 /* We use char because int might match the return type of a gcc2 1704 builtin and then its argument prototype would still apply. */ 1624 1705 char $ac_func(); 1625 1706 1626 int main() { return 0; } 1627 int t() { 1707 int main() { 1628 1708 1629 1709 /* The GNU C library defines this for functions which it implements … … 1638 1718 ; return 0; } 1639 1719 EOF 1640 if { (eval echo configure:1 641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1720 if { (eval echo configure:1721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1641 1721 rm -rf conftest* 1642 1722 eval "ac_cv_func_$ac_func=yes" 1643 1723 else 1724 echo "configure: failed program was:" >&5 1725 cat conftest.$ac_ext >&5 1644 1726 rm -rf conftest* 1645 1727 eval "ac_cv_func_$ac_func=no" 1646 1728 fi 1647 1729 rm -f conftest* 1648 1649 fi 1730 fi 1731 1650 1732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 1651 1733 echo "$ac_t""yes" 1>&6 … … 1670 1752 1671 1753 if test "$ac_cv_func_gethostbyname" != yes; then 1672 echo $ac_n "checking for -lnsl""... $ac_c" 1>&6 1673 ac_lib_var=`echo nsl_gethostbyname | tr '.-/+' '___p'` 1754 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1755 echo "configure:1756: checking for gethostbyname in -lnsl" >&5 1756 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1674 1757 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1675 1758 echo $ac_n "(cached) $ac_c" 1>&6 … … 1678 1761 LIBS="-lnsl $LIBS" 1679 1762 cat > conftest.$ac_ext <<EOF 1680 #line 1 681"configure"1763 #line 1764 "configure" 1681 1764 #include "confdefs.h" 1682 1765 /* Override any gcc2 internal prototype to avoid an error. */ 1766 /* We use char because int might match the return type of a gcc2 1767 builtin and then its argument prototype would still apply. */ 1683 1768 char gethostbyname(); 1684 1769 1685 int main() { return 0; } 1686 int t() { 1770 int main() { 1687 1771 gethostbyname() 1688 1772 ; return 0; } 1689 1773 EOF 1690 if { (eval echo configure:1 691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1774 if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1691 1775 rm -rf conftest* 1692 1776 eval "ac_cv_lib_$ac_lib_var=yes" 1693 1777 else 1778 echo "configure: failed program was:" >&5 1779 cat conftest.$ac_ext >&5 1694 1780 rm -rf conftest* 1695 1781 eval "ac_cv_lib_$ac_lib_var=no" … … 1701 1787 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1702 1788 echo "$ac_t""yes" 1>&6 1703 ac_tr_lib=HAVE_LIB`echo nsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1789 ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1790 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1704 1791 cat >> confdefs.h <<EOF 1705 1792 #define $ac_tr_lib 1 … … 1719 1806 1720 1807 if test "$ac_cv_func_socket" != yes; then 1721 echo $ac_n "checking for -lsocket""... $ac_c" 1>&6 1722 ac_lib_var=`echo socket_socket | tr '.-/+' '___p'` 1808 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 1809 echo "configure:1810: checking for socket in -lsocket" >&5 1810 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` 1723 1811 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1724 1812 echo $ac_n "(cached) $ac_c" 1>&6 … … 1727 1815 LIBS="-lsocket $LIBS" 1728 1816 cat > conftest.$ac_ext <<EOF 1729 #line 1 730"configure"1817 #line 1818 "configure" 1730 1818 #include "confdefs.h" 1731 1819 /* Override any gcc2 internal prototype to avoid an error. */ 1820 /* We use char because int might match the return type of a gcc2 1821 builtin and then its argument prototype would still apply. */ 1732 1822 char socket(); 1733 1823 1734 int main() { return 0; } 1735 int t() { 1824 int main() { 1736 1825 socket() 1737 1826 ; return 0; } 1738 1827 EOF 1739 if { (eval echo configure:1 740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1828 if { (eval echo configure:1829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 1740 1829 rm -rf conftest* 1741 1830 eval "ac_cv_lib_$ac_lib_var=yes" 1742 1831 else 1832 echo "configure: failed program was:" >&5 1833 cat conftest.$ac_ext >&5 1743 1834 rm -rf conftest* 1744 1835 eval "ac_cv_lib_$ac_lib_var=no" … … 1750 1841 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1751 1842 echo "$ac_t""yes" 1>&6 1752 ac_tr_lib=HAVE_LIB`echo socket | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 1843 ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1844 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1753 1845 cat >> confdefs.h <<EOF 1754 1846 #define $ac_tr_lib 1 … … 1770 1862 1771 1863 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1864 echo "configure:1865: checking for ANSI C header files" >&5 1772 1865 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1773 1866 echo $ac_n "(cached) $ac_c" 1>&6 1774 1867 else 1775 1868 cat > conftest.$ac_ext <<EOF 1776 #line 1 777"configure"1869 #line 1870 "configure" 1777 1870 #include "confdefs.h" 1778 1871 #include <stdlib.h> … … 1782 1875 EOF 1783 1876 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1784 { (eval echo configure:1 785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1877 { (eval echo configure:1878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1785 1878 ac_err=`grep -v '^ *+' conftest.out` 1786 1879 if test -z "$ac_err"; then … … 1789 1882 else 1790 1883 echo "$ac_err" >&5 1884 echo "configure: failed program was:" >&5 1885 cat conftest.$ac_ext >&5 1791 1886 rm -rf conftest* 1792 1887 ac_cv_header_stdc=no … … 1797 1892 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1798 1893 cat > conftest.$ac_ext <<EOF 1799 #line 18 00"configure"1894 #line 1895 "configure" 1800 1895 #include "confdefs.h" 1801 1896 #include <string.h> … … 1815 1910 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1816 1911 cat > conftest.$ac_ext <<EOF 1817 #line 1 818"configure"1912 #line 1913 "configure" 1818 1913 #include "confdefs.h" 1819 1914 #include <stdlib.h> … … 1835 1930 : 1836 1931 else 1837 cat > conftest.$ac_ext <<EOF1838 #line 1 839"configure"1932 cat > conftest.$ac_ext <<EOF 1933 #line 1934 "configure" 1839 1934 #include "confdefs.h" 1840 1935 #include <ctype.h> … … 1847 1942 1848 1943 EOF 1849 { (eval echo configure:1850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 1850 if test -s conftest && (./conftest; exit) 2>/dev/null; then 1851 : 1852 else 1944 if { (eval echo configure:1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 1945 then 1946 : 1947 else 1948 echo "configure: failed program was:" >&5 1949 cat conftest.$ac_ext >&5 1950 rm -fr conftest* 1853 1951 ac_cv_header_stdc=no 1854 1952 fi 1855 fi1856 1953 rm -fr conftest* 1954 fi 1955 1857 1956 fi 1858 1957 fi … … 1866 1965 fi 1867 1966 1868 ac_safe=`echo "arpa/inet.h" | tr './\055' '___'`1967 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 1869 1968 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 1969 echo "configure:1970: checking for arpa/inet.h" >&5 1870 1970 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1871 1971 echo $ac_n "(cached) $ac_c" 1>&6 1872 1972 else 1873 1973 cat > conftest.$ac_ext <<EOF 1874 #line 1 875 "configure"1974 #line 1975 "configure" 1875 1975 #include "confdefs.h" 1876 1976 #include <arpa/inet.h> 1877 1977 EOF 1878 1978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1879 { (eval echo configure:1 880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1979 { (eval echo configure:1980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1880 1980 ac_err=`grep -v '^ *+' conftest.out` 1881 1981 if test -z "$ac_err"; then … … 1884 1984 else 1885 1985 echo "$ac_err" >&5 1986 echo "configure: failed program was:" >&5 1987 cat conftest.$ac_ext >&5 1886 1988 rm -rf conftest* 1887 1989 eval "ac_cv_header_$ac_safe=no" … … 1897 1999 fi 1898 2000 1899 ac_safe=`echo "assert.h" | tr './\055' '___'`2001 ac_safe=`echo "assert.h" | sed 'y%./+-%__p_%'` 1900 2002 echo $ac_n "checking for assert.h""... $ac_c" 1>&6 2003 echo "configure:2004: checking for assert.h" >&5 1901 2004 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1902 2005 echo $ac_n "(cached) $ac_c" 1>&6 1903 2006 else 1904 2007 cat > conftest.$ac_ext <<EOF 1905 #line 1906"configure"2008 #line 2009 "configure" 1906 2009 #include "confdefs.h" 1907 2010 #include <assert.h> 1908 2011 EOF 1909 2012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1910 { (eval echo configure: 1911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2013 { (eval echo configure:2014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1911 2014 ac_err=`grep -v '^ *+' conftest.out` 1912 2015 if test -z "$ac_err"; then … … 1915 2018 else 1916 2019 echo "$ac_err" >&5 2020 echo "configure: failed program was:" >&5 2021 cat conftest.$ac_ext >&5 1917 2022 rm -rf conftest* 1918 2023 eval "ac_cv_header_$ac_safe=no" … … 1928 2033 fi 1929 2034 1930 ac_safe=`echo "ctype.h" | tr './\055' '___'`2035 ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'` 1931 2036 echo $ac_n "checking for ctype.h""... $ac_c" 1>&6 2037 echo "configure:2038: checking for ctype.h" >&5 1932 2038 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1933 2039 echo $ac_n "(cached) $ac_c" 1>&6 1934 2040 else 1935 2041 cat > conftest.$ac_ext <<EOF 1936 #line 1937"configure"2042 #line 2043 "configure" 1937 2043 #include "confdefs.h" 1938 2044 #include <ctype.h> 1939 2045 EOF 1940 2046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1941 { (eval echo configure: 1942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2047 { (eval echo configure:2048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1942 2048 ac_err=`grep -v '^ *+' conftest.out` 1943 2049 if test -z "$ac_err"; then … … 1946 2052 else 1947 2053 echo "$ac_err" >&5 2054 echo "configure: failed program was:" >&5 2055 cat conftest.$ac_ext >&5 1948 2056 rm -rf conftest* 1949 2057 eval "ac_cv_header_$ac_safe=no" … … 1959 2067 fi 1960 2068 1961 ac_safe=`echo "errno.h" | tr './\055' '___'`2069 ac_safe=`echo "errno.h" | sed 'y%./+-%__p_%'` 1962 2070 echo $ac_n "checking for errno.h""... $ac_c" 1>&6 2071 echo "configure:2072: checking for errno.h" >&5 1963 2072 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1964 2073 echo $ac_n "(cached) $ac_c" 1>&6 1965 2074 else 1966 2075 cat > conftest.$ac_ext <<EOF 1967 #line 1968"configure"2076 #line 2077 "configure" 1968 2077 #include "confdefs.h" 1969 2078 #include <errno.h> 1970 2079 EOF 1971 2080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1972 { (eval echo configure: 1973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2081 { (eval echo configure:2082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1973 2082 ac_err=`grep -v '^ *+' conftest.out` 1974 2083 if test -z "$ac_err"; then … … 1977 2086 else 1978 2087 echo "$ac_err" >&5 2088 echo "configure: failed program was:" >&5 2089 cat conftest.$ac_ext >&5 1979 2090 rm -rf conftest* 1980 2091 eval "ac_cv_header_$ac_safe=no" … … 1990 2101 fi 1991 2102 1992 ac_safe=`echo "netdb.h" | tr './\055' '___'`2103 ac_safe=`echo "netdb.h" | sed 'y%./+-%__p_%'` 1993 2104 echo $ac_n "checking for netdb.h""... $ac_c" 1>&6 2105 echo "configure:2106: checking for netdb.h" >&5 1994 2106 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1995 2107 echo $ac_n "(cached) $ac_c" 1>&6 1996 2108 else 1997 2109 cat > conftest.$ac_ext <<EOF 1998 #line 1999"configure"2110 #line 2111 "configure" 1999 2111 #include "confdefs.h" 2000 2112 #include <netdb.h> 2001 2113 EOF 2002 2114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2003 { (eval echo configure:2 004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2115 { (eval echo configure:2116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2004 2116 ac_err=`grep -v '^ *+' conftest.out` 2005 2117 if test -z "$ac_err"; then … … 2008 2120 else 2009 2121 echo "$ac_err" >&5 2122 echo "configure: failed program was:" >&5 2123 cat conftest.$ac_ext >&5 2010 2124 rm -rf conftest* 2011 2125 eval "ac_cv_header_$ac_safe=no" … … 2021 2135 fi 2022 2136 2023 ac_safe=`echo "netinet/in.h" | tr './\055' '___'`2137 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 2024 2138 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 2139 echo "configure:2140: checking for netinet/in.h" >&5 2025 2140 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2026 2141 echo $ac_n "(cached) $ac_c" 1>&6 2027 2142 else 2028 2143 cat > conftest.$ac_ext <<EOF 2029 #line 2 030"configure"2144 #line 2145 "configure" 2030 2145 #include "confdefs.h" 2031 2146 #include <netinet/in.h> 2032 2147 EOF 2033 2148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2034 { (eval echo configure:2 035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2149 { (eval echo configure:2150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2035 2150 ac_err=`grep -v '^ *+' conftest.out` 2036 2151 if test -z "$ac_err"; then … … 2039 2154 else 2040 2155 echo "$ac_err" >&5 2156 echo "configure: failed program was:" >&5 2157 cat conftest.$ac_ext >&5 2041 2158 rm -rf conftest* 2042 2159 eval "ac_cv_header_$ac_safe=no" … … 2052 2169 fi 2053 2170 2054 ac_safe=`echo "netinet/tcp.h" | tr './\055' '___'`2171 ac_safe=`echo "netinet/tcp.h" | sed 'y%./+-%__p_%'` 2055 2172 echo $ac_n "checking for netinet/tcp.h""... $ac_c" 1>&6 2173 echo "configure:2174: checking for netinet/tcp.h" >&5 2056 2174 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2057 2175 echo $ac_n "(cached) $ac_c" 1>&6 2058 2176 else 2059 2177 cat > conftest.$ac_ext <<EOF 2060 #line 2 061"configure"2178 #line 2179 "configure" 2061 2179 #include "confdefs.h" 2062 2180 #include <netinet/tcp.h> 2063 2181 EOF 2064 2182 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2065 { (eval echo configure:2 066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2183 { (eval echo configure:2184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2066 2184 ac_err=`grep -v '^ *+' conftest.out` 2067 2185 if test -z "$ac_err"; then … … 2070 2188 else 2071 2189 echo "$ac_err" >&5 2190 echo "configure: failed program was:" >&5 2191 cat conftest.$ac_ext >&5 2072 2192 rm -rf conftest* 2073 2193 eval "ac_cv_header_$ac_safe=no" … … 2083 2203 fi 2084 2204 2085 ac_safe=`echo "signal.h" | tr './\055' '___'`2205 ac_safe=`echo "signal.h" | sed 'y%./+-%__p_%'` 2086 2206 echo $ac_n "checking for signal.h""... $ac_c" 1>&6 2207 echo "configure:2208: checking for signal.h" >&5 2087 2208 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2088 2209 echo $ac_n "(cached) $ac_c" 1>&6 2089 2210 else 2090 2211 cat > conftest.$ac_ext <<EOF 2091 #line 2 092"configure"2212 #line 2213 "configure" 2092 2213 #include "confdefs.h" 2093 2214 #include <signal.h> 2094 2215 EOF 2095 2216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2096 { (eval echo configure:2 097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2217 { (eval echo configure:2218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2097 2218 ac_err=`grep -v '^ *+' conftest.out` 2098 2219 if test -z "$ac_err"; then … … 2101 2222 else 2102 2223 echo "$ac_err" >&5 2224 echo "configure: failed program was:" >&5 2225 cat conftest.$ac_ext >&5 2103 2226 rm -rf conftest* 2104 2227 eval "ac_cv_header_$ac_safe=no" … … 2114 2237 fi 2115 2238 2116 ac_safe=`echo "stdarg.h" | tr './\055' '___'`2239 ac_safe=`echo "stdarg.h" | sed 'y%./+-%__p_%'` 2117 2240 echo $ac_n "checking for stdarg.h""... $ac_c" 1>&6 2241 echo "configure:2242: checking for stdarg.h" >&5 2118 2242 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2119 2243 echo $ac_n "(cached) $ac_c" 1>&6 2120 2244 else 2121 2245 cat > conftest.$ac_ext <<EOF 2122 #line 2 123"configure"2246 #line 2247 "configure" 2123 2247 #include "confdefs.h" 2124 2248 #include <stdarg.h> 2125 EOF2126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"2127 { (eval echo configure:2128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2128 ac_err=`grep -v '^ *+' conftest.out`2129 if test -z "$ac_err"; then2130 rm -rf conftest*2131 eval "ac_cv_header_$ac_safe=yes"2132 else2133 echo "$ac_err" >&52134 rm -rf conftest*2135 eval "ac_cv_header_$ac_safe=no"2136 fi2137 rm -f conftest*2138 fi2139 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then2140 echo "$ac_t""yes" 1>&62141 :2142 else2143 echo "$ac_t""no" 1>&62144 echo "*** no stdarg.h";exit2145 fi2146 2147 ac_safe=`echo "stdio.h" | tr './\055' '___'`2148 echo $ac_n "checking for stdio.h""... $ac_c" 1>&62149 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then2150 echo $ac_n "(cached) $ac_c" 1>&62151 else2152 cat > conftest.$ac_ext <<EOF2153 #line 2154 "configure"2154 #include "confdefs.h"2155 #include <stdio.h>2156 EOF2157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"2158 { (eval echo configure:2159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2159 ac_err=`grep -v '^ *+' conftest.out`2160 if test -z "$ac_err"; then2161 rm -rf conftest*2162 eval "ac_cv_header_$ac_safe=yes"2163 else2164 echo "$ac_err" >&52165 rm -rf conftest*2166 eval "ac_cv_header_$ac_safe=no"2167 fi2168 rm -f conftest*2169 fi2170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then2171 echo "$ac_t""yes" 1>&62172 :2173 else2174 echo "$ac_t""no" 1>&62175 echo "*** no stdio.h";exit2176 fi2177 2178 ac_safe=`echo "stdlib.h" | tr './\055' '___'`2179 echo $ac_n "checking for stdlib.h""... $ac_c" 1>&62180 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then2181 echo $ac_n "(cached) $ac_c" 1>&62182 else2183 cat > conftest.$ac_ext <<EOF2184 #line 2185 "configure"2185 #include "confdefs.h"2186 #include <stdlib.h>2187 EOF2188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"2189 { (eval echo configure:2190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2190 ac_err=`grep -v '^ *+' conftest.out`2191 if test -z "$ac_err"; then2192 rm -rf conftest*2193 eval "ac_cv_header_$ac_safe=yes"2194 else2195 echo "$ac_err" >&52196 rm -rf conftest*2197 eval "ac_cv_header_$ac_safe=no"2198 fi2199 rm -f conftest*2200 fi2201 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then2202 echo "$ac_t""yes" 1>&62203 :2204 else2205 echo "$ac_t""no" 1>&62206 echo "*** no stdlib.h";exit2207 fi2208 2209 ac_safe=`echo "string.h" | tr './\055' '___'`2210 echo $ac_n "checking for string.h""... $ac_c" 1>&62211 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then2212 echo $ac_n "(cached) $ac_c" 1>&62213 else2214 cat > conftest.$ac_ext <<EOF2215 #line 2216 "configure"2216 #include "confdefs.h"2217 #include <string.h>2218 EOF2219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"2220 { (eval echo configure:2221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2221 ac_err=`grep -v '^ *+' conftest.out`2222 if test -z "$ac_err"; then2223 rm -rf conftest*2224 eval "ac_cv_header_$ac_safe=yes"2225 else2226 echo "$ac_err" >&52227 rm -rf conftest*2228 eval "ac_cv_header_$ac_safe=no"2229 fi2230 rm -f conftest*2231 fi2232 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then2233 echo "$ac_t""yes" 1>&62234 :2235 else2236 echo "$ac_t""no" 1>&62237 echo "*** no string.h";exit2238 fi2239 2240 ac_safe=`echo "stddef.h" | tr './\055' '___'`2241 echo $ac_n "checking for stddef.h""... $ac_c" 1>&62242 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then2243 echo $ac_n "(cached) $ac_c" 1>&62244 else2245 cat > conftest.$ac_ext <<EOF2246 #line 2247 "configure"2247 #include "confdefs.h"2248 #include <stddef.h>2249 2249 EOF 2250 2250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" … … 2256 2256 else 2257 2257 echo "$ac_err" >&5 2258 echo "configure: failed program was:" >&5 2259 cat conftest.$ac_ext >&5 2258 2260 rm -rf conftest* 2259 2261 eval "ac_cv_header_$ac_safe=no" … … 2266 2268 else 2267 2269 echo "$ac_t""no" 1>&6 2268 echo "*** no stddef.h";exit 2269 fi 2270 2271 ac_safe=`echo "values.h" | tr './\055' '___'` 2272 echo $ac_n "checking for values.h""... $ac_c" 1>&6 2270 echo "*** no stdarg.h";exit 2271 fi 2272 2273 ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'` 2274 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6 2275 echo "configure:2276: checking for stdio.h" >&5 2273 2276 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2274 2277 echo $ac_n "(cached) $ac_c" 1>&6 2275 2278 else 2276 2279 cat > conftest.$ac_ext <<EOF 2277 #line 22 78"configure"2278 #include "confdefs.h" 2279 #include < values.h>2280 #line 2281 "configure" 2281 #include "confdefs.h" 2282 #include <stdio.h> 2280 2283 EOF 2281 2284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2282 { (eval echo configure:228 3: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2285 { (eval echo configure:2286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2283 2286 ac_err=`grep -v '^ *+' conftest.out` 2284 2287 if test -z "$ac_err"; then … … 2287 2290 else 2288 2291 echo "$ac_err" >&5 2292 echo "configure: failed program was:" >&5 2293 cat conftest.$ac_ext >&5 2289 2294 rm -rf conftest* 2290 2295 eval "ac_cv_header_$ac_safe=no" … … 2297 2302 else 2298 2303 echo "$ac_t""no" 1>&6 2299 echo "*** no values.h";exit2300 fi 2301 2302 2303 ac_safe=`echo "fcntl.h" | tr './\055' '___'` 2304 echo $ac_n "checking for fcntl.h""... $ac_c" 1>&62304 echo "*** no stdio.h";exit 2305 fi 2306 2307 ac_safe=`echo "stdlib.h" | sed 'y%./+-%__p_%'` 2308 echo $ac_n "checking for stdlib.h""... $ac_c" 1>&6 2309 echo "configure:2310: checking for stdlib.h" >&5 2305 2310 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2306 2311 echo $ac_n "(cached) $ac_c" 1>&6 2307 2312 else 2308 2313 cat > conftest.$ac_ext <<EOF 2309 #line 231 0"configure"2310 #include "confdefs.h" 2311 #include < fcntl.h>2314 #line 2315 "configure" 2315 #include "confdefs.h" 2316 #include <stdlib.h> 2312 2317 EOF 2313 2318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2314 { (eval echo configure:23 15: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2319 { (eval echo configure:2320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2315 2320 ac_err=`grep -v '^ *+' conftest.out` 2316 2321 if test -z "$ac_err"; then … … 2319 2324 else 2320 2325 echo "$ac_err" >&5 2326 echo "configure: failed program was:" >&5 2327 cat conftest.$ac_ext >&5 2321 2328 rm -rf conftest* 2322 2329 eval "ac_cv_header_$ac_safe=no" … … 2329 2336 else 2330 2337 echo "$ac_t""no" 1>&6 2331 echo "*** no fcntl.h";exit 2332 fi 2333 2334 ac_safe=`echo "sys/ioctl.h" | tr './\055' '___'` 2335 echo $ac_n "checking for sys/ioctl.h""... $ac_c" 1>&6 2338 echo "*** no stdlib.h";exit 2339 fi 2340 2341 ac_safe=`echo "string.h" | sed 'y%./+-%__p_%'` 2342 echo $ac_n "checking for string.h""... $ac_c" 1>&6 2343 echo "configure:2344: checking for string.h" >&5 2336 2344 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2337 2345 echo $ac_n "(cached) $ac_c" 1>&6 2338 2346 else 2339 2347 cat > conftest.$ac_ext <<EOF 2340 #line 234 1"configure"2341 #include "confdefs.h" 2342 #include <s ys/ioctl.h>2348 #line 2349 "configure" 2349 #include "confdefs.h" 2350 #include <string.h> 2343 2351 EOF 2344 2352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2345 { (eval echo configure:23 46: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2353 { (eval echo configure:2354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2346 2354 ac_err=`grep -v '^ *+' conftest.out` 2347 2355 if test -z "$ac_err"; then … … 2350 2358 else 2351 2359 echo "$ac_err" >&5 2360 echo "configure: failed program was:" >&5 2361 cat conftest.$ac_ext >&5 2352 2362 rm -rf conftest* 2353 2363 eval "ac_cv_header_$ac_safe=no" … … 2360 2370 else 2361 2371 echo "$ac_t""no" 1>&6 2362 echo "*** no sys/ioctl.h";exit 2363 fi 2364 2365 ac_safe=`echo "sys/param.h" | tr './\055' '___'` 2366 echo $ac_n "checking for sys/param.h""... $ac_c" 1>&6 2372 echo "*** no string.h";exit 2373 fi 2374 2375 ac_safe=`echo "stddef.h" | sed 'y%./+-%__p_%'` 2376 echo $ac_n "checking for stddef.h""... $ac_c" 1>&6 2377 echo "configure:2378: checking for stddef.h" >&5 2367 2378 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2368 2379 echo $ac_n "(cached) $ac_c" 1>&6 2369 2380 else 2370 2381 cat > conftest.$ac_ext <<EOF 2371 #line 23 72"configure"2372 #include "confdefs.h" 2373 #include <s ys/param.h>2382 #line 2383 "configure" 2383 #include "confdefs.h" 2384 #include <stddef.h> 2374 2385 EOF 2375 2386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2376 { (eval echo configure:23 77: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2387 { (eval echo configure:2388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2377 2388 ac_err=`grep -v '^ *+' conftest.out` 2378 2389 if test -z "$ac_err"; then … … 2381 2392 else 2382 2393 echo "$ac_err" >&5 2394 echo "configure: failed program was:" >&5 2395 cat conftest.$ac_ext >&5 2383 2396 rm -rf conftest* 2384 2397 eval "ac_cv_header_$ac_safe=no" … … 2391 2404 else 2392 2405 echo "$ac_t""no" 1>&6 2393 echo "*** no sys/param.h";exit 2394 fi 2395 2396 ac_safe=`echo "sys/socket.h" | tr './\055' '___'` 2397 echo $ac_n "checking for sys/socket.h""... $ac_c" 1>&6 2406 echo "*** no stddef.h";exit 2407 fi 2408 2409 ac_safe=`echo "values.h" | sed 'y%./+-%__p_%'` 2410 echo $ac_n "checking for values.h""... $ac_c" 1>&6 2411 echo "configure:2412: checking for values.h" >&5 2398 2412 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2399 2413 echo $ac_n "(cached) $ac_c" 1>&6 2400 2414 else 2401 2415 cat > conftest.$ac_ext <<EOF 2402 #line 24 03"configure"2403 #include "confdefs.h" 2404 #include < sys/socket.h>2416 #line 2417 "configure" 2417 #include "confdefs.h" 2418 #include <values.h> 2405 2419 EOF 2406 2420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2407 { (eval echo configure:24 08: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2421 { (eval echo configure:2422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2408 2422 ac_err=`grep -v '^ *+' conftest.out` 2409 2423 if test -z "$ac_err"; then … … 2412 2426 else 2413 2427 echo "$ac_err" >&5 2428 echo "configure: failed program was:" >&5 2429 cat conftest.$ac_ext >&5 2414 2430 rm -rf conftest* 2415 2431 eval "ac_cv_header_$ac_safe=no" … … 2422 2438 else 2423 2439 echo "$ac_t""no" 1>&6 2424 echo "*** no sys/socket.h";exit 2425 fi 2426 2427 ac_safe=`echo "sys/stat.h" | tr './\055' '___'` 2428 echo $ac_n "checking for sys/stat.h""... $ac_c" 1>&6 2440 echo "*** no values.h";exit 2441 fi 2442 2443 2444 ac_safe=`echo "fcntl.h" | sed 'y%./+-%__p_%'` 2445 echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6 2446 echo "configure:2447: checking for fcntl.h" >&5 2429 2447 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2430 2448 echo $ac_n "(cached) $ac_c" 1>&6 2431 2449 else 2432 2450 cat > conftest.$ac_ext <<EOF 2433 #line 24 34"configure"2434 #include "confdefs.h" 2435 #include < sys/stat.h>2451 #line 2452 "configure" 2452 #include "confdefs.h" 2453 #include <fcntl.h> 2436 2454 EOF 2437 2455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2438 { (eval echo configure:24 39: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2456 { (eval echo configure:2457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2439 2457 ac_err=`grep -v '^ *+' conftest.out` 2440 2458 if test -z "$ac_err"; then … … 2443 2461 else 2444 2462 echo "$ac_err" >&5 2463 echo "configure: failed program was:" >&5 2464 cat conftest.$ac_ext >&5 2445 2465 rm -rf conftest* 2446 2466 eval "ac_cv_header_$ac_safe=no" … … 2453 2473 else 2454 2474 echo "$ac_t""no" 1>&6 2455 echo "*** no sys/stat.h";exit 2456 fi 2457 2458 ac_safe=`echo "sys/time.h" | tr './\055' '___'` 2459 echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6 2475 echo "*** no fcntl.h";exit 2476 fi 2477 2478 ac_safe=`echo "sys/ioctl.h" | sed 'y%./+-%__p_%'` 2479 echo $ac_n "checking for sys/ioctl.h""... $ac_c" 1>&6 2480 echo "configure:2481: checking for sys/ioctl.h" >&5 2460 2481 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2461 2482 echo $ac_n "(cached) $ac_c" 1>&6 2462 2483 else 2463 2484 cat > conftest.$ac_ext <<EOF 2464 #line 24 65"configure"2465 #include "confdefs.h" 2466 #include <sys/ time.h>2485 #line 2486 "configure" 2486 #include "confdefs.h" 2487 #include <sys/ioctl.h> 2467 2488 EOF 2468 2489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2469 { (eval echo configure:24 70: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2490 { (eval echo configure:2491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2470 2491 ac_err=`grep -v '^ *+' conftest.out` 2471 2492 if test -z "$ac_err"; then … … 2474 2495 else 2475 2496 echo "$ac_err" >&5 2497 echo "configure: failed program was:" >&5 2498 cat conftest.$ac_ext >&5 2476 2499 rm -rf conftest* 2477 2500 eval "ac_cv_header_$ac_safe=no" … … 2484 2507 else 2485 2508 echo "$ac_t""no" 1>&6 2486 echo "*** no sys/time.h";exit 2487 fi 2488 2489 ac_safe=`echo "sys/types.h" | tr './\055' '___'` 2490 echo $ac_n "checking for sys/types.h""... $ac_c" 1>&6 2509 echo "*** no sys/ioctl.h";exit 2510 fi 2511 2512 ac_safe=`echo "sys/param.h" | sed 'y%./+-%__p_%'` 2513 echo $ac_n "checking for sys/param.h""... $ac_c" 1>&6 2514 echo "configure:2515: checking for sys/param.h" >&5 2491 2515 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2492 2516 echo $ac_n "(cached) $ac_c" 1>&6 2493 2517 else 2494 2518 cat > conftest.$ac_ext <<EOF 2495 #line 2 496"configure"2496 #include "confdefs.h" 2497 #include <sys/ types.h>2519 #line 2520 "configure" 2520 #include "confdefs.h" 2521 #include <sys/param.h> 2498 2522 EOF 2499 2523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2500 { (eval echo configure:25 01: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2524 { (eval echo configure:2525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2501 2525 ac_err=`grep -v '^ *+' conftest.out` 2502 2526 if test -z "$ac_err"; then … … 2505 2529 else 2506 2530 echo "$ac_err" >&5 2531 echo "configure: failed program was:" >&5 2532 cat conftest.$ac_ext >&5 2507 2533 rm -rf conftest* 2508 2534 eval "ac_cv_header_$ac_safe=no" … … 2515 2541 else 2516 2542 echo "$ac_t""no" 1>&6 2517 echo "*** no sys/types.h";exit 2518 fi 2519 2520 ac_safe=`echo "sys/uio.h" | tr './\055' '___'` 2521 echo $ac_n "checking for sys/uio.h""... $ac_c" 1>&6 2543 echo "*** no sys/param.h";exit 2544 fi 2545 2546 ac_safe=`echo "sys/socket.h" | sed 'y%./+-%__p_%'` 2547 echo $ac_n "checking for sys/socket.h""... $ac_c" 1>&6 2548 echo "configure:2549: checking for sys/socket.h" >&5 2522 2549 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2523 2550 echo $ac_n "(cached) $ac_c" 1>&6 2524 2551 else 2525 2552 cat > conftest.$ac_ext <<EOF 2526 #line 25 27"configure"2527 #include "confdefs.h" 2528 #include <sys/ uio.h>2553 #line 2554 "configure" 2554 #include "confdefs.h" 2555 #include <sys/socket.h> 2529 2556 EOF 2530 2557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2531 { (eval echo configure:25 32: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2558 { (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2532 2559 ac_err=`grep -v '^ *+' conftest.out` 2533 2560 if test -z "$ac_err"; then … … 2536 2563 else 2537 2564 echo "$ac_err" >&5 2565 echo "configure: failed program was:" >&5 2566 cat conftest.$ac_ext >&5 2538 2567 rm -rf conftest* 2539 2568 eval "ac_cv_header_$ac_safe=no" … … 2546 2575 else 2547 2576 echo "$ac_t""no" 1>&6 2548 echo "*** no sys/uio.h";exit 2549 fi 2550 2551 ac_safe=`echo "sys/un.h" | tr './\055' '___'` 2552 echo $ac_n "checking for sys/un.h""... $ac_c" 1>&6 2577 echo "*** no sys/socket.h";exit 2578 fi 2579 2580 ac_safe=`echo "sys/stat.h" | sed 'y%./+-%__p_%'` 2581 echo $ac_n "checking for sys/stat.h""... $ac_c" 1>&6 2582 echo "configure:2583: checking for sys/stat.h" >&5 2553 2583 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2554 2584 echo $ac_n "(cached) $ac_c" 1>&6 2555 2585 else 2556 2586 cat > conftest.$ac_ext <<EOF 2557 #line 25 58 "configure"2558 #include "confdefs.h" 2559 #include <sys/ un.h>2587 #line 2588 "configure" 2588 #include "confdefs.h" 2589 #include <sys/stat.h> 2560 2590 EOF 2561 2591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2562 { (eval echo configure:25 63: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2592 { (eval echo configure:2593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2563 2593 ac_err=`grep -v '^ *+' conftest.out` 2564 2594 if test -z "$ac_err"; then … … 2567 2597 else 2568 2598 echo "$ac_err" >&5 2599 echo "configure: failed program was:" >&5 2600 cat conftest.$ac_ext >&5 2569 2601 rm -rf conftest* 2570 2602 eval "ac_cv_header_$ac_safe=no" … … 2577 2609 else 2578 2610 echo "$ac_t""no" 1>&6 2579 echo "*** no sys/un.h";exit 2580 fi 2581 2582 ac_safe=`echo "unistd.h" | tr './\055' '___'` 2583 echo $ac_n "checking for unistd.h""... $ac_c" 1>&6 2611 echo "*** no sys/stat.h";exit 2612 fi 2613 2614 ac_safe=`echo "sys/time.h" | sed 'y%./+-%__p_%'` 2615 echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6 2616 echo "configure:2617: checking for sys/time.h" >&5 2584 2617 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2585 2618 echo $ac_n "(cached) $ac_c" 1>&6 2586 2619 else 2587 2620 cat > conftest.$ac_ext <<EOF 2588 #line 2 589"configure"2589 #include "confdefs.h" 2590 #include < unistd.h>2621 #line 2622 "configure" 2622 #include "confdefs.h" 2623 #include <sys/time.h> 2591 2624 EOF 2592 2625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2593 { (eval echo configure:2 594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2626 { (eval echo configure:2627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2594 2627 ac_err=`grep -v '^ *+' conftest.out` 2595 2628 if test -z "$ac_err"; then … … 2598 2631 else 2599 2632 echo "$ac_err" >&5 2633 echo "configure: failed program was:" >&5 2634 cat conftest.$ac_ext >&5 2600 2635 rm -rf conftest* 2601 2636 eval "ac_cv_header_$ac_safe=no" … … 2608 2643 else 2609 2644 echo "$ac_t""no" 1>&6 2610 echo "*** no unistd.h";exit 2611 fi 2612 2613 ac_safe=`echo "math.h" | tr './\055' '___'` 2614 echo $ac_n "checking for math.h""... $ac_c" 1>&6 2645 echo "*** no sys/time.h";exit 2646 fi 2647 2648 ac_safe=`echo "sys/types.h" | sed 'y%./+-%__p_%'` 2649 echo $ac_n "checking for sys/types.h""... $ac_c" 1>&6 2650 echo "configure:2651: checking for sys/types.h" >&5 2615 2651 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2616 2652 echo $ac_n "(cached) $ac_c" 1>&6 2617 2653 else 2618 2654 cat > conftest.$ac_ext <<EOF 2619 #line 26 20"configure"2620 #include "confdefs.h" 2621 #include < math.h>2655 #line 2656 "configure" 2656 #include "confdefs.h" 2657 #include <sys/types.h> 2622 2658 EOF 2623 2659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2624 { (eval echo configure:26 25: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2660 { (eval echo configure:2661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2625 2661 ac_err=`grep -v '^ *+' conftest.out` 2626 2662 if test -z "$ac_err"; then … … 2629 2665 else 2630 2666 echo "$ac_err" >&5 2667 echo "configure: failed program was:" >&5 2668 cat conftest.$ac_ext >&5 2631 2669 rm -rf conftest* 2632 2670 eval "ac_cv_header_$ac_safe=no" … … 2639 2677 else 2640 2678 echo "$ac_t""no" 1>&6 2679 echo "*** no sys/types.h";exit 2680 fi 2681 2682 ac_safe=`echo "sys/uio.h" | sed 'y%./+-%__p_%'` 2683 echo $ac_n "checking for sys/uio.h""... $ac_c" 1>&6 2684 echo "configure:2685: checking for sys/uio.h" >&5 2685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2686 echo $ac_n "(cached) $ac_c" 1>&6 2687 else 2688 cat > conftest.$ac_ext <<EOF 2689 #line 2690 "configure" 2690 #include "confdefs.h" 2691 #include <sys/uio.h> 2692 EOF 2693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2694 { (eval echo configure:2695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2695 ac_err=`grep -v '^ *+' conftest.out` 2696 if test -z "$ac_err"; then 2697 rm -rf conftest* 2698 eval "ac_cv_header_$ac_safe=yes" 2699 else 2700 echo "$ac_err" >&5 2701 echo "configure: failed program was:" >&5 2702 cat conftest.$ac_ext >&5 2703 rm -rf conftest* 2704 eval "ac_cv_header_$ac_safe=no" 2705 fi 2706 rm -f conftest* 2707 fi 2708 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2709 echo "$ac_t""yes" 1>&6 2710 : 2711 else 2712 echo "$ac_t""no" 1>&6 2713 echo "*** no sys/uio.h";exit 2714 fi 2715 2716 ac_safe=`echo "sys/un.h" | sed 'y%./+-%__p_%'` 2717 echo $ac_n "checking for sys/un.h""... $ac_c" 1>&6 2718 echo "configure:2719: checking for sys/un.h" >&5 2719 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2720 echo $ac_n "(cached) $ac_c" 1>&6 2721 else 2722 cat > conftest.$ac_ext <<EOF 2723 #line 2724 "configure" 2724 #include "confdefs.h" 2725 #include <sys/un.h> 2726 EOF 2727 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2728 { (eval echo configure:2729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2729 ac_err=`grep -v '^ *+' conftest.out` 2730 if test -z "$ac_err"; then 2731 rm -rf conftest* 2732 eval "ac_cv_header_$ac_safe=yes" 2733 else 2734 echo "$ac_err" >&5 2735 echo "configure: failed program was:" >&5 2736 cat conftest.$ac_ext >&5 2737 rm -rf conftest* 2738 eval "ac_cv_header_$ac_safe=no" 2739 fi 2740 rm -f conftest* 2741 fi 2742 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2743 echo "$ac_t""yes" 1>&6 2744 : 2745 else 2746 echo "$ac_t""no" 1>&6 2747 echo "*** no sys/un.h";exit 2748 fi 2749 2750 ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'` 2751 echo $ac_n "checking for unistd.h""... $ac_c" 1>&6 2752 echo "configure:2753: checking for unistd.h" >&5 2753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2754 echo $ac_n "(cached) $ac_c" 1>&6 2755 else 2756 cat > conftest.$ac_ext <<EOF 2757 #line 2758 "configure" 2758 #include "confdefs.h" 2759 #include <unistd.h> 2760 EOF 2761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2762 { (eval echo configure:2763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2763 ac_err=`grep -v '^ *+' conftest.out` 2764 if test -z "$ac_err"; then 2765 rm -rf conftest* 2766 eval "ac_cv_header_$ac_safe=yes" 2767 else 2768 echo "$ac_err" >&5 2769 echo "configure: failed program was:" >&5 2770 cat conftest.$ac_ext >&5 2771 rm -rf conftest* 2772 eval "ac_cv_header_$ac_safe=no" 2773 fi 2774 rm -f conftest* 2775 fi 2776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2777 echo "$ac_t""yes" 1>&6 2778 : 2779 else 2780 echo "$ac_t""no" 1>&6 2781 echo "*** no unistd.h";exit 2782 fi 2783 2784 ac_safe=`echo "math.h" | sed 'y%./+-%__p_%'` 2785 echo $ac_n "checking for math.h""... $ac_c" 1>&6 2786 echo "configure:2787: checking for math.h" >&5 2787 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2788 echo $ac_n "(cached) $ac_c" 1>&6 2789 else 2790 cat > conftest.$ac_ext <<EOF 2791 #line 2792 "configure" 2792 #include "confdefs.h" 2793 #include <math.h> 2794 EOF 2795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2796 { (eval echo configure:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2797 ac_err=`grep -v '^ *+' conftest.out` 2798 if test -z "$ac_err"; then 2799 rm -rf conftest* 2800 eval "ac_cv_header_$ac_safe=yes" 2801 else 2802 echo "$ac_err" >&5 2803 echo "configure: failed program was:" >&5 2804 cat conftest.$ac_ext >&5 2805 rm -rf conftest* 2806 eval "ac_cv_header_$ac_safe=no" 2807 fi 2808 rm -f conftest* 2809 fi 2810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2811 echo "$ac_t""yes" 1>&6 2812 : 2813 else 2814 echo "$ac_t""no" 1>&6 2641 2815 echo "*** no math.h";exit 2642 2816 fi … … 2646 2820 for ac_hdr in sys/select.h gmp.h genpari.h saclib.h 2647 2821 do 2648 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`2822 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2649 2823 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2824 echo "configure:2825: checking for $ac_hdr" >&5 2650 2825 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2651 2826 echo $ac_n "(cached) $ac_c" 1>&6 2652 2827 else 2653 2828 cat > conftest.$ac_ext <<EOF 2654 #line 2 655"configure"2829 #line 2830 "configure" 2655 2830 #include "confdefs.h" 2656 2831 #include <$ac_hdr> 2657 2832 EOF 2658 2833 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2659 { (eval echo configure:2 660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2834 { (eval echo configure:2835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2660 2835 ac_err=`grep -v '^ *+' conftest.out` 2661 2836 if test -z "$ac_err"; then … … 2664 2839 else 2665 2840 echo "$ac_err" >&5 2841 echo "configure: failed program was:" >&5 2842 cat conftest.$ac_ext >&5 2666 2843 rm -rf conftest* 2667 2844 eval "ac_cv_header_$ac_safe=no" … … 2671 2848 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2672 2849 echo "$ac_t""yes" 1>&6 2673 ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`2850 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 2674 2851 cat >> confdefs.h <<EOF 2675 2852 #define $ac_tr_hdr 1 … … 2684 2861 if test "$ac_cv_header_gmp_h" = yes; then 2685 2862 cat > conftest.$ac_ext <<EOF 2686 #line 2 687"configure"2863 #line 2864 "configure" 2687 2864 #include "confdefs.h" 2688 2865 #include <gmp.h> … … 2697 2874 if test ! "$MPZ_PTR" = mpz_ptr; then 2698 2875 cat > conftest.$ac_ext <<EOF 2699 #line 2 700"configure"2876 #line 2877 "configure" 2700 2877 #include "confdefs.h" 2701 2878 #include <gmp.h> … … 2726 2903 fi 2727 2904 cat > conftest.$ac_ext <<EOF 2728 #line 2 729"configure"2905 #line 2906 "configure" 2729 2906 #include "confdefs.h" 2730 2907 #include <gmp.h> … … 2971 3148 2972 3149 echo $ac_n "checking for ulong""... $ac_c" 1>&6 3150 echo "configure:3151: checking for ulong" >&5 2973 3151 if eval "test \"`echo '$''{'ac_cv_type_ulong'+set}'`\" = set"; then 2974 3152 echo $ac_n "(cached) $ac_c" 1>&6 2975 3153 else 2976 3154 cat > conftest.$ac_ext <<EOF 2977 #line 2978"configure"3155 #line 3156 "configure" 2978 3156 #include "confdefs.h" 2979 3157 #include <sys/types.h> 2980 3158 #if STDC_HEADERS 2981 3159 #include <stdlib.h> 3160 #include <stddef.h> 2982 3161 #endif 2983 3162 EOF 2984 3163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2985 egrep "ulong " >/dev/null 2>&1; then3164 egrep "ulong[^a-zA-Z_0-9]" >/dev/null 2>&1; then 2986 3165 rm -rf conftest* 2987 3166 ac_cv_type_ulong=yes … … 3013 3192 3014 3193 if test "$with_tb" = yes; then 3015 ac_safe=`echo "TB.h" | tr './\055' '___'`3194 ac_safe=`echo "TB.h" | sed 'y%./+-%__p_%'` 3016 3195 echo $ac_n "checking for TB.h""... $ac_c" 1>&6 3196 echo "configure:3197: checking for TB.h" >&5 3017 3197 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3018 3198 echo $ac_n "(cached) $ac_c" 1>&6 3019 3199 else 3020 3200 cat > conftest.$ac_ext <<EOF 3021 #line 3 022 "configure"3201 #line 3202 "configure" 3022 3202 #include "confdefs.h" 3023 3203 #include <TB.h> 3024 3204 EOF 3025 3205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3026 { (eval echo configure:3 027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3206 { (eval echo configure:3207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3027 3207 ac_err=`grep -v '^ *+' conftest.out` 3028 3208 if test -z "$ac_err"; then … … 3031 3211 else 3032 3212 echo "$ac_err" >&5 3213 echo "configure: failed program was:" >&5 3214 cat conftest.$ac_ext >&5 3033 3215 rm -rf conftest* 3034 3216 eval "ac_cv_header_$ac_safe=no" … … 3054 3236 3055 3237 if test "$with_pvm" = yes; then 3056 ac_safe=`echo "pvm3.h" | tr './\055' '___'`3238 ac_safe=`echo "pvm3.h" | sed 'y%./+-%__p_%'` 3057 3239 echo $ac_n "checking for pvm3.h""... $ac_c" 1>&6 3240 echo "configure:3241: checking for pvm3.h" >&5 3058 3241 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3059 3242 echo $ac_n "(cached) $ac_c" 1>&6 3060 3243 else 3061 3244 cat > conftest.$ac_ext <<EOF 3062 #line 3 063"configure"3245 #line 3246 "configure" 3063 3246 #include "confdefs.h" 3064 3247 #include <pvm3.h> 3065 3248 EOF 3066 3249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3067 { (eval echo configure:3 068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3250 { (eval echo configure:3251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3068 3251 ac_err=`grep -v '^ *+' conftest.out` 3069 3252 if test -z "$ac_err"; then … … 3072 3255 else 3073 3256 echo "$ac_err" >&5 3257 echo "configure: failed program was:" >&5 3258 cat conftest.$ac_ext >&5 3074 3259 rm -rf conftest* 3075 3260 eval "ac_cv_header_$ac_safe=no" … … 3106 3291 set dummy $ac_prog; ac_word=$2 3107 3292 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 3293 echo "configure:3294: checking for $ac_word" >&5 3108 3294 if eval "test \"`echo '$''{'ac_cv_prog_ac_cv_rsh_program'+set}'`\" = set"; then 3109 3295 echo $ac_n "(cached) $ac_c" 1>&6 … … 3136 3322 fi 3137 3323 echo $ac_n "checking which remote shell command to use""... $ac_c" 1>&6 3324 echo "configure:3325: checking which remote shell command to use" >&5 3138 3325 cat >> confdefs.h <<EOF 3139 3326 #define MP_RSH_COMMAND "$ac_cv_rsh_program" … … 3143 3330 3144 3331 echo $ac_n "checking whether remote shell command works""... $ac_c" 1>&6 3332 echo "configure:3333: checking whether remote shell command works" >&5 3145 3333 if $ac_cv_rsh_program `hostname` -n uname \>\& /dev/null; then 3146 3334 echo "$ac_t""yes" 1>&6 … … 3151 3339 3152 3340 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3341 echo "configure:3342: checking whether byte ordering is bigendian" >&5 3153 3342 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3154 3343 echo $ac_n "(cached) $ac_c" 1>&6 … … 3157 3346 # See if sys/param.h defines the BYTE_ORDER macro. 3158 3347 cat > conftest.$ac_ext <<EOF 3159 #line 3 160"configure"3348 #line 3349 "configure" 3160 3349 #include "confdefs.h" 3161 3350 #include <sys/types.h> 3162 3351 #include <sys/param.h> 3163 int main() { return 0; } 3164 int t() { 3352 int main() { 3165 3353 3166 3354 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN … … 3169 3357 ; return 0; } 3170 3358 EOF 3171 if { (eval echo configure:3 172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3359 if { (eval echo configure:3360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3172 3360 rm -rf conftest* 3173 3361 # It does; now see whether it defined to BIG_ENDIAN or not. 3174 3362 cat > conftest.$ac_ext <<EOF 3175 #line 3 176"configure"3363 #line 3364 "configure" 3176 3364 #include "confdefs.h" 3177 3365 #include <sys/types.h> 3178 3366 #include <sys/param.h> 3179 int main() { return 0; } 3180 int t() { 3367 int main() { 3181 3368 3182 3369 #if BYTE_ORDER != BIG_ENDIAN … … 3185 3372 ; return 0; } 3186 3373 EOF 3187 if { (eval echo configure:3 188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3374 if { (eval echo configure:3375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3188 3375 rm -rf conftest* 3189 3376 ac_cv_c_bigendian=yes 3190 3377 else 3378 echo "configure: failed program was:" >&5 3379 cat conftest.$ac_ext >&5 3191 3380 rm -rf conftest* 3192 3381 ac_cv_c_bigendian=no 3193 3382 fi 3194 3383 rm -f conftest* 3195 3196 fi 3197 rm -f conftest* 3198 3384 else 3385 echo "configure: failed program was:" >&5 3386 cat conftest.$ac_ext >&5 3387 fi 3388 rm -f conftest* 3199 3389 if test $ac_cv_c_bigendian = unknown; then 3200 3390 if test "$cross_compiling" = yes; then 3201 3391 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 3202 3392 else 3203 cat > conftest.$ac_ext <<EOF3204 #line 3 205 "configure"3393 cat > conftest.$ac_ext <<EOF 3394 #line 3395 "configure" 3205 3395 #include "confdefs.h" 3206 3396 main () { … … 3215 3405 } 3216 3406 EOF 3217 { (eval echo configure:3218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3218 if test -s conftest && (./conftest; exit) 2>/dev/null;then3407 if { (eval echo configure:3408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3408 then 3219 3409 ac_cv_c_bigendian=no 3220 3410 else 3411 echo "configure: failed program was:" >&5 3412 cat conftest.$ac_ext >&5 3413 rm -fr conftest* 3221 3414 ac_cv_c_bigendian=yes 3222 3415 fi 3223 fi3224 3416 rm -fr conftest* 3417 fi 3418 3225 3419 fi 3226 3420 fi … … 3235 3429 3236 3430 echo $ac_n "checking for working const""... $ac_c" 1>&6 3431 echo "configure:3432: checking for working const" >&5 3237 3432 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 3238 3433 echo $ac_n "(cached) $ac_c" 1>&6 3239 3434 else 3240 3435 cat > conftest.$ac_ext <<EOF 3241 #line 3242 "configure" 3242 #include "confdefs.h" 3243 3244 int main() { return 0; } 3245 int t() { 3436 #line 3437 "configure" 3437 #include "confdefs.h" 3438 3439 int main() { 3246 3440 3247 3441 /* Ultrix mips cc rejects this. */ … … 3289 3483 ; return 0; } 3290 3484 EOF 3291 if { (eval echo configure:3 292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3485 if { (eval echo configure:3486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3292 3486 rm -rf conftest* 3293 3487 ac_cv_c_const=yes 3294 3488 else 3489 echo "configure: failed program was:" >&5 3490 cat conftest.$ac_ext >&5 3295 3491 rm -rf conftest* 3296 3492 ac_cv_c_const=no 3297 3493 fi 3298 3494 rm -f conftest* 3299 3300 3495 fi 3301 3496 … … 3309 3504 3310 3505 echo $ac_n "checking for size_t""... $ac_c" 1>&6 3506 echo "configure:3507: checking for size_t" >&5 3311 3507 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 3312 3508 echo $ac_n "(cached) $ac_c" 1>&6 3313 3509 else 3314 3510 cat > conftest.$ac_ext <<EOF 3315 #line 3 316"configure"3511 #line 3512 "configure" 3316 3512 #include "confdefs.h" 3317 3513 #include <sys/types.h> 3318 3514 #if STDC_HEADERS 3319 3515 #include <stdlib.h> 3516 #include <stddef.h> 3320 3517 #endif 3321 3518 EOF 3322 3519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3323 egrep "size_t " >/dev/null 2>&1; then3520 egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 3324 3521 rm -rf conftest* 3325 3522 ac_cv_type_size_t=yes … … 3340 3537 3341 3538 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 3539 echo "configure:3540: checking whether time.h and sys/time.h may both be included" >&5 3342 3540 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 3343 3541 echo $ac_n "(cached) $ac_c" 1>&6 3344 3542 else 3345 3543 cat > conftest.$ac_ext <<EOF 3346 #line 3 347"configure"3544 #line 3545 "configure" 3347 3545 #include "confdefs.h" 3348 3546 #include <sys/types.h> 3349 3547 #include <sys/time.h> 3350 3548 #include <time.h> 3351 int main() { return 0; } 3352 int t() { 3549 int main() { 3353 3550 struct tm *tp; 3354 3551 ; return 0; } 3355 3552 EOF 3356 if { (eval echo configure:3 357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3553 if { (eval echo configure:3554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3357 3554 rm -rf conftest* 3358 3555 ac_cv_header_time=yes 3359 3556 else 3557 echo "configure: failed program was:" >&5 3558 cat conftest.$ac_ext >&5 3360 3559 rm -rf conftest* 3361 3560 ac_cv_header_time=no 3362 3561 fi 3363 3562 rm -f conftest* 3364 3365 3563 fi 3366 3564 … … 3375 3573 3376 3574 echo $ac_n "checking size of long""... $ac_c" 1>&6 3575 echo "configure:3576: checking size of long" >&5 3377 3576 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3378 3577 echo $ac_n "(cached) $ac_c" 1>&6 … … 3381 3580 ac_cv_sizeof_long=4 3382 3581 else 3383 cat > conftest.$ac_ext <<EOF3384 #line 3 385"configure"3582 cat > conftest.$ac_ext <<EOF 3583 #line 3584 "configure" 3385 3584 #include "confdefs.h" 3386 3585 #include <stdio.h> … … 3393 3592 } 3394 3593 EOF 3395 { (eval echo configure:3396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3396 if test -s conftest && (./conftest; exit) 2>/dev/null;then3594 if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3595 then 3397 3596 ac_cv_sizeof_long=`cat conftestval` 3398 3597 else 3598 echo "configure: failed program was:" >&5 3599 cat conftest.$ac_ext >&5 3600 rm -fr conftest* 3399 3601 ac_cv_sizeof_long=0 3400 3602 fi 3401 fi3402 3603 rm -fr conftest* 3604 fi 3605 3403 3606 fi 3404 3607 echo "$ac_t""$ac_cv_sizeof_long" 1>&6 … … 3448 3651 # 3449 3652 EOF 3653 # The following way of writing the cache mishandles newlines in values, 3654 # but we know of no workaround that is simple, portable, and efficient. 3655 # So, don't put newlines in cache variables' values. 3450 3656 # Ultrix sh set writes to stderr and can't be redirected directly, 3451 3657 # and sets the high bit in the cache file unless we assign to the vars. 3452 3658 (set) 2>&1 | 3453 sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \ 3454 >> confcache 3659 case `(ac_space=' '; set) 2>&1` in 3660 *ac_space=\ *) 3661 # `set' does not quote correctly, so add quotes (double-quote substitution 3662 # turns \\\\ into \\, and sed turns \\ into \). 3663 sed -n \ 3664 -e "s/'/'\\\\''/g" \ 3665 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 3666 ;; 3667 *) 3668 # `set' quotes correctly as required by POSIX, so do not add quotes. 3669 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 3670 ;; 3671 esac >> confcache 3455 3672 if cmp -s $cache_file confcache; then 3456 3673 : … … 3507 3724 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 3508 3725 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 3509 echo "$CONFIG_STATUS generated by autoconf version 2. 9"3726 echo "$CONFIG_STATUS generated by autoconf version 2.12" 3510 3727 exit 0 ;; 3511 3728 -help | --help | --hel | --he | --h) … … 3579 3796 CEOF 3580 3797 EOF 3798 3799 cat >> $CONFIG_STATUS <<\EOF 3800 3801 # Split the substitutions into bite-sized pieces for seds with 3802 # small command number limits, like on Digital OSF/1 and HP-UX. 3803 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 3804 ac_file=1 # Number of current file. 3805 ac_beg=1 # First line for current file. 3806 ac_end=$ac_max_sed_cmds # Line after last line for current file. 3807 ac_more_lines=: 3808 ac_sed_cmds="" 3809 while $ac_more_lines; do 3810 if test $ac_beg -gt 1; then 3811 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 3812 else 3813 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 3814 fi 3815 if test ! -s conftest.s$ac_file; then 3816 ac_more_lines=false 3817 rm -f conftest.s$ac_file 3818 else 3819 if test -z "$ac_sed_cmds"; then 3820 ac_sed_cmds="sed -f conftest.s$ac_file" 3821 else 3822 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 3823 fi 3824 ac_file=`expr $ac_file + 1` 3825 ac_beg=$ac_end 3826 ac_end=`expr $ac_end + $ac_max_sed_cmds` 3827 fi 3828 done 3829 if test -z "$ac_sed_cmds"; then 3830 ac_sed_cmds=cat 3831 fi 3832 EOF 3833 3581 3834 cat >> $CONFIG_STATUS <<EOF 3582 3835 … … 3586 3839 cat >> $CONFIG_STATUS <<\EOF 3587 3840 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 3588 # Support "outfile[:infile ]", defaulting infile="outfile.in".3841 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3589 3842 case "$ac_file" in 3590 *:*) ac_file_in=`echo "$ac_file"|sed 's% .*:%%'`3843 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 3591 3844 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 3592 3845 *) ac_file_in="${ac_file}.in" ;; 3593 3846 esac 3594 3847 3595 # Adjust relative srcdir, etc.for subdirectories.3848 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 3596 3849 3597 3850 # Remove last slash and all that follows it. Not all systems have dirname. … … 3617 3870 esac 3618 3871 3872 3619 3873 echo creating "$ac_file" 3620 3874 rm -f "$ac_file" … … 3625 3879 *) ac_comsub= ;; 3626 3880 esac 3881 3882 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 3627 3883 sed -e "$ac_comsub 3628 3884 s%@configure_input@%$configure_input%g 3629 3885 s%@srcdir@%$srcdir%g 3630 3886 s%@top_srcdir@%$top_srcdir%g 3631 " -f conftest.subs $ac_given_srcdir/$ac_file_in> $ac_file3887 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 3632 3888 fi; done 3633 rm -f conftest.s ubs3889 rm -f conftest.s* 3634 3890 3635 3891 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where … … 3652 3908 ac_eD='%g' 3653 3909 3654 CONFIG_HEADERS=${CONFIG_HEADERS-"MP/MP_Config.h:MP/h/MP_Config.h.in"} 3910 if test "${CONFIG_HEADERS+set}" != set; then 3911 EOF 3912 cat >> $CONFIG_STATUS <<EOF 3913 CONFIG_HEADERS="MP/MP_Config.h:MP/h/MP_Config.h.in" 3914 EOF 3915 cat >> $CONFIG_STATUS <<\EOF 3916 fi 3655 3917 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then 3656 # Support "outfile[:infile ]", defaulting infile="outfile.in".3918 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3657 3919 case "$ac_file" in 3658 *:*) ac_file_in=`echo "$ac_file"|sed 's% .*:%%'`3920 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 3659 3921 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 3660 3922 *) ac_file_in="${ac_file}.in" ;; … … 3664 3926 3665 3927 rm -f conftest.frag conftest.in conftest.out 3666 cp $ac_given_srcdir/$ac_file_in conftest.in 3928 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 3929 cat $ac_file_inputs > conftest.in 3667 3930 3668 3931 EOF … … 3692 3955 # Break up conftest.vals because some shells have a limit on 3693 3956 # the size of here documents, and old seds have small limits too. 3694 # Maximum number of lines to put in a single here document.3695 ac_max_here_lines=123696 3957 3697 3958 rm -f conftest.tail … … 3724 3985 rm -f conftest.h 3725 3986 else 3987 # Remove last slash and all that follows it. Not all systems have dirname. 3988 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 3989 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 3990 # The file is in a subdirectory. 3991 test ! -d "$ac_dir" && mkdir "$ac_dir" 3992 fi 3726 3993 rm -f $ac_file 3727 3994 mv conftest.h $ac_file … … 3729 3996 fi; done 3730 3997 3731 3998 EOF 3999 cat >> $CONFIG_STATUS <<EOF 4000 4001 EOF 4002 cat >> $CONFIG_STATUS <<\EOF 3732 4003 \ 3733 4004 if test "$CONFIG_HEADERS"; then echo timestamp > MP/stamp-h; fi … … 3786 4057 cd $ac_config_dir 3787 4058 4059 # A "../" for each directory in /$ac_config_dir. 4060 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` 4061 3788 4062 case "$srcdir" in 3789 4063 .) # No --srcdir option. We are building in place. … … 3792 4066 ac_sub_srcdir=$srcdir/$ac_config_dir ;; 3793 4067 *) # Relative path. 3794 ac_sub_srcdir= ../$srcdir/$ac_config_dir ;;4068 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; 3795 4069 esac 3796 4070 … … 3809 4083 3810 4084 # Make the cache file name correct relative to the subdirectory. 3811 # A "../" for each directory in /$ac_config_dir.3812 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`3813 4085 case "$cache_file" in 3814 4086 /*) ac_sub_cache_file=$cache_file ;;
Note: See TracChangeset
for help on using the changeset viewer.