Index: ossp-pkg/eperl/configure RCS File: /v/ossp/cvs/ossp-pkg/eperl/configure,v rcsdiff -q -kk '-r1.4' '-r1.5' -u '/v/ossp/cvs/ossp-pkg/eperl/configure,v' 2>/dev/null --- configure 2000/07/03 08:34:55 1.4 +++ configure 2000/10/10 16:08:44 1.5 @@ -549,13 +549,21 @@ esac +tmpdir="${TMPDIR}" +if test ".$tmpdir" = .; then + tmpdir="${TEMPDIR}" +fi +if test ".$tmpdir" = .; then + tmpdir="/tmp" +fi + echo "$ac_t""" 1>&6 echo "$ac_t""${T_MD}CHECK: Configuration of Perl Language${T_ME}" 1>&6 echo $ac_n "checking for Perl language""... $ac_c" 1>&6 -echo "configure:559: checking for Perl language" >&5 +echo "configure:567: checking for Perl language" >&5 # Check whether --with-perl or --without-perl was given. if test "${with_perl+set}" = set; then withval="$with_perl" @@ -608,7 +616,7 @@ echo $ac_n "checking for Perl knowledge of system""... $ac_c" 1>&6 -echo "configure:612: checking for Perl knowledge of system" >&5 +echo "configure:620: checking for Perl knowledge of system" >&5 perl_osname="`$perl_prog -e 'use Config; print $Config{osname}'`"; perl_osvers="`$perl_prog -e 'use Config; print $Config{osvers}'`"; perl_os="$perl_osname-$perl_osvers" @@ -618,7 +626,7 @@ echo "$ac_t""$perl_os" 1>&6 echo $ac_n "checking for Perl standard compiler""... $ac_c" 1>&6 -echo "configure:622: checking for Perl standard compiler" >&5 +echo "configure:630: checking for Perl standard compiler" >&5 perl_cc="`$perl_prog -e 'use Config; print $Config{cc}'`"; if test ".$CC" = .; then CC=$perl_cc @@ -631,13 +639,13 @@ echo $ac_n "checking for Perl standard optimization flags""... $ac_c" 1>&6 -echo "configure:635: checking for Perl standard optimization flags" >&5 +echo "configure:643: checking for Perl standard optimization flags" >&5 perl_optimize="`$perl_prog -e 'use Config; print $Config{optimize}'`"; echo "$ac_t""$perl_optimize" 1>&6 echo $ac_n "checking for Perl standard compilation flags""... $ac_c" 1>&6 -echo "configure:641: checking for Perl standard compilation flags" >&5 +echo "configure:649: checking for Perl standard compilation flags" >&5 perl_ccflags="`$perl_prog -e 'use Config; print $Config{ccflags}'`"; case $perl_os in *hpux* ) perl_ccflags="$perl_ccflags -Wp,-H32768" ;; @@ -647,7 +655,7 @@ echo $ac_n "checking for Perl standard link flags""... $ac_c" 1>&6 -echo "configure:651: checking for Perl standard link flags" >&5 +echo "configure:659: checking for Perl standard link flags" >&5 perl_ldflags="`$perl_prog -e 'use Config; print $Config{ldflags}'`"; case $perl_os in *irix-6.* ) perl_ldflags="$perl_ldflags '-Wl,-woff 85'" ;; @@ -656,19 +664,19 @@ echo $ac_n "checking for Perl library files""... $ac_c" 1>&6 -echo "configure:660: checking for Perl library files" >&5 +echo "configure:668: checking for Perl library files" >&5 perl_libs="`$perl_prog -e 'use Config; print $Config{libs}'`" echo "$ac_t""$perl_libs" 1>&6 echo $ac_n "checking for Perl architecture directory""... $ac_c" 1>&6 -echo "configure:666: checking for Perl architecture directory" >&5 +echo "configure:674: checking for Perl architecture directory" >&5 perl_archlib="`$perlprog -e 'use Config; print $Config{archlib}'`"; echo "$ac_t""$perl_archlib" 1>&6 echo $ac_n "checking for Perl dynamic loading support""... $ac_c" 1>&6 -echo "configure:672: checking for Perl dynamic loading support" >&5 +echo "configure:680: checking for Perl dynamic loading support" >&5 usedl="`$perlprog -e 'use Config; print $Config{usedl}'`"; case $usedl in define ) @@ -688,7 +696,7 @@ echo "$ac_t""$rc" 1>&6 echo $ac_n "checking for Perl dynamic loading compilation flags""... $ac_c" 1>&6 -echo "configure:692: checking for Perl dynamic loading compilation flags" >&5 +echo "configure:700: checking for Perl dynamic loading compilation flags" >&5 perl_cccdlflags="`$perlprog -e 'use Config; print $Config{cccdlflags}'`"; case $perl_cccdlflags in " " ) x="none" ;; @@ -698,7 +706,7 @@ echo $ac_n "checking for Perl dynamic loading link flags""... $ac_c" 1>&6 -echo "configure:702: checking for Perl dynamic loading link flags" >&5 +echo "configure:710: checking for Perl dynamic loading link flags" >&5 perl_ccdlflags="`$perlprog -e 'use Config; print $Config{ccdlflags}'`"; case $perl_os in *aix* ) perl_ccdlflags="`echo $perl_ccdlflags | sed -e 's;-bE:perl.exp;-bE:${perl_archlib}/CORE/perl.exp;'`" ;; @@ -716,13 +724,13 @@ echo "$ac_t""${T_MD}CHECK: System Build Environment${T_ME}" 1>&6 echo $ac_n "checking for build user""... $ac_c" 1>&6 -echo "configure:720: checking for build user" >&5 +echo "configure:728: checking for build user" >&5 build_user="`$SHTOOL echo -n -e '%u@%h%d'`" echo "$ac_t""$build_user" 1>&6 echo $ac_n "checking for build time""... $ac_c" 1>&6 -echo "configure:726: checking for build time" >&5 +echo "configure:734: checking for build time" >&5 build_time_ctime="`date | sed -e 's/\n$//'`" build_time_iso="`$SHTOOL echo -n -e '%D-%m-%Y'`" echo "$ac_t""$build_time_iso" 1>&6 @@ -732,7 +740,7 @@ # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:736: checking for $ac_word" >&5 +echo "configure:744: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -762,7 +770,7 @@ # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:766: checking for $ac_word" >&5 +echo "configure:774: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -813,7 +821,7 @@ # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:817: checking for $ac_word" >&5 +echo "configure:825: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -845,7 +853,7 @@ fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:849: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:857: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -856,12 +864,12 @@ cat > conftest.$ac_ext << EOF -#line 860 "configure" +#line 868 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -887,12 +895,12 @@ { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:891: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:899: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:896: checking whether we are using GNU C" >&5 +echo "configure:904: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -901,7 +909,7 @@ yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -920,7 +928,7 @@ ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:924: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:932: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -952,7 +960,7 @@ fi echo $ac_n "checking for compilation debug mode""... $ac_c" 1>&6 -echo "configure:956: checking for compilation debug mode" >&5 +echo "configure:964: checking for compilation debug mode" >&5 # Check whether --enable-debug or --disable-debug was given. if test "${enable_debug+set}" = set; then enableval="$enable_debug" @@ -1003,7 +1011,7 @@ # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1007: checking for $ac_word" >&5 +echo "configure:1015: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1033,7 +1041,7 @@ # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1037: checking for $ac_word" >&5 +echo "configure:1045: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1062,7 +1070,7 @@ # Extract the first word of "size", so it can be a program name with args. set dummy size; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1066: checking for $ac_word" >&5 +echo "configure:1074: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_SIZE'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1092,7 +1100,7 @@ *irix* ) SIZE="$SIZE -B" ;; esac echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:1096: checking whether ${MAKE-make} sets \${MAKE}" >&5 +echo "configure:1104: checking whether ${MAKE-make} sets \${MAKE}" >&5 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1124,12 +1132,12 @@ echo "$ac_t""${T_MD}CHECK: Characteristic of System Headers and Libraries${T_ME}" 1>&6 echo $ac_n "checking for working const""... $ac_c" 1>&6 -echo "configure:1128: checking for working const" >&5 +echo "configure:1136: checking for working const" >&5 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_const=yes else @@ -1199,7 +1207,7 @@ fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1203: checking how to run the C preprocessor" >&5 +echo "configure:1211: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1214,13 +1222,13 @@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1231,13 +1239,13 @@ rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1248,13 +1256,13 @@ rm -rf conftest* CPP="${CC-cc} -nologo -E" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then : @@ -1279,12 +1287,12 @@ echo "$ac_t""$CPP" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 -echo "configure:1283: checking for ANSI C header files" >&5 +echo "configure:1291: checking for ANSI C header files" >&5 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1292,7 +1300,7 @@ #include EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1309,7 +1317,7 @@ if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -1327,7 +1335,7 @@ if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat > conftest.$ac_ext < EOF @@ -1348,7 +1356,7 @@ : else cat > conftest.$ac_ext < #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') @@ -1359,7 +1367,7 @@ exit (0); } EOF -if { (eval echo configure:1363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then : else @@ -1386,17 +1394,17 @@ do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1390: checking for $ac_hdr" >&5 +echo "configure:1398: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -1423,12 +1431,12 @@ done echo $ac_n "checking for bool""... $ac_c" 1>&6 -echo "configure:1427: checking for bool" >&5 +echo "configure:1435: checking for bool" >&5 if eval "test \"`echo '$''{'ac_cv_type_bool'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #if STDC_HEADERS @@ -1458,12 +1466,12 @@ for ac_func in memmove do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1462: checking for $ac_func" >&5 +echo "configure:1470: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -1513,12 +1521,12 @@ for ac_func in seteuid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1517: checking for $ac_func" >&5 +echo "configure:1525: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -1568,12 +1576,12 @@ for ac_func in setegid do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1572: checking for $ac_func" >&5 +echo "configure:1580: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -1623,12 +1631,12 @@ for ac_func in strdup do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1627: checking for $ac_func" >&5 +echo "configure:1635: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:1663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -1815,6 +1823,7 @@ s%@infodir@%$infodir%g s%@mandir@%$mandir%g s%@libsubdir@%$libsubdir%g +s%@tmpdir@%$tmpdir%g s%@PATH_PERL@%$PATH_PERL%g s%@perlprog@%$perlprog%g s%@perlvers@%$perlvers%g Index: ossp-pkg/eperl/configure.in RCS File: /v/ossp/cvs/ossp-pkg/eperl/configure.in,v rcsdiff -q -kk '-r1.4' '-r1.5' -u '/v/ossp/cvs/ossp-pkg/eperl/configure.in,v' 2>/dev/null --- configure.in 2000/07/03 08:34:55 1.4 +++ configure.in 2000/10/10 16:08:44 1.5 @@ -35,6 +35,17 @@ esac AC_SUBST(libsubdir) +dnl # +dnl # find reasonable temporary directory +dnl # +tmpdir="${TMPDIR}" +if test ".$tmpdir" = .; then + tmpdir="${TEMPDIR}" +fi +if test ".$tmpdir" = .; then + tmpdir="/tmp" +fi +AC_SUBST(tmpdir) dnl # dnl # latest find Perl interpreter