Changeset 013557 in git


Ignore:
Timestamp:
Dec 14, 2000, 3:14:12 PM (23 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
f5f439847c47b2f6f43fda0c9876a65c1d36cc57
Parents:
5f9c1031dd42dcb2a150980b43014c5e174f0fa4
Message:
fixed setenv


git-svn-id: file:///usr/local/Singular/svn/trunk@4896 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r5f9c103 r013557  
    17891789LIBS=${SAVE_LIBS}
    17901790
     1791
    17911792# heder file checks
    17921793echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1793 echo "configure:1794: checking for ANSI C header files" >&5
     1794echo "configure:1795: checking for ANSI C header files" >&5
    17941795if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    17951796  echo $ac_n "(cached) $ac_c" 1>&6
    17961797else
    17971798  cat > conftest.$ac_ext <<EOF
    1798 #line 1799 "configure"
     1799#line 1800 "configure"
    17991800#include "confdefs.h"
    18001801#include <stdlib.h>
     
    18041805EOF
    18051806ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1806 { (eval echo configure:1807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1807{ (eval echo configure:1808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18071808ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18081809if test -z "$ac_err"; then
     
    18211822  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    18221823cat > conftest.$ac_ext <<EOF
    1823 #line 1824 "configure"
     1824#line 1825 "configure"
    18241825#include "confdefs.h"
    18251826#include <string.h>
     
    18391840  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    18401841cat > conftest.$ac_ext <<EOF
    1841 #line 1842 "configure"
     1842#line 1843 "configure"
    18421843#include "confdefs.h"
    18431844#include <stdlib.h>
     
    18601861else
    18611862  cat > conftest.$ac_ext <<EOF
    1862 #line 1863 "configure"
     1863#line 1864 "configure"
    18631864#include "confdefs.h"
    18641865#include <ctype.h>
     
    18711872
    18721873EOF
    1873 if { (eval echo configure:1874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1874if { (eval echo configure:1875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    18741875then
    18751876  :
     
    18981899ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    18991900echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1900 echo "configure:1901: checking for $ac_hdr" >&5
     1901echo "configure:1902: checking for $ac_hdr" >&5
    19011902if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19021903  echo $ac_n "(cached) $ac_c" 1>&6
    19031904else
    19041905  cat > conftest.$ac_ext <<EOF
    1905 #line 1906 "configure"
     1906#line 1907 "configure"
    19061907#include "confdefs.h"
    19071908#include <$ac_hdr>
    19081909EOF
    19091910ac_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; }
     1911{ (eval echo configure:1912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19111912ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19121913if test -z "$ac_err"; then
     
    19401941ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19411942echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1942 echo "configure:1943: checking for $ac_hdr" >&5
     1943echo "configure:1944: checking for $ac_hdr" >&5
    19431944if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19441945  echo $ac_n "(cached) $ac_c" 1>&6
    19451946else
    19461947  cat > conftest.$ac_ext <<EOF
    1947 #line 1948 "configure"
     1948#line 1949 "configure"
    19481949#include "confdefs.h"
    19491950#include <$ac_hdr>
    19501951EOF
    19511952ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1952 { (eval echo configure:1953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1953{ (eval echo configure:1954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19531954ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19541955if test -z "$ac_err"; then
     
    19791980# typedefs, structures
    19801981echo $ac_n "checking for working const""... $ac_c" 1>&6
    1981 echo "configure:1982: checking for working const" >&5
     1982echo "configure:1983: checking for working const" >&5
    19821983if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    19831984  echo $ac_n "(cached) $ac_c" 1>&6
    19841985else
    19851986  cat > conftest.$ac_ext <<EOF
    1986 #line 1987 "configure"
     1987#line 1988 "configure"
    19871988#include "confdefs.h"
    19881989
     
    20332034; return 0; }
    20342035EOF
    2035 if { (eval echo configure:2036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2036if { (eval echo configure:2037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20362037  rm -rf conftest*
    20372038  ac_cv_c_const=yes
     
    20542055
    20552056echo $ac_n "checking for inline""... $ac_c" 1>&6
    2056 echo "configure:2057: checking for inline" >&5
     2057echo "configure:2058: checking for inline" >&5
    20572058if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    20582059  echo $ac_n "(cached) $ac_c" 1>&6
     
    20612062for ac_kw in inline __inline__ __inline; do
    20622063  cat > conftest.$ac_ext <<EOF
    2063 #line 2064 "configure"
     2064#line 2065 "configure"
    20642065#include "confdefs.h"
    20652066
     
    20682069; return 0; }
    20692070EOF
    2070 if { (eval echo configure:2071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2071if { (eval echo configure:2072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20712072  rm -rf conftest*
    20722073  ac_cv_c_inline=$ac_kw; break
     
    20942095
    20952096echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2096 echo "configure:2097: checking for size_t" >&5
     2097echo "configure:2098: checking for size_t" >&5
    20972098if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    20982099  echo $ac_n "(cached) $ac_c" 1>&6
    20992100else
    21002101  cat > conftest.$ac_ext <<EOF
    2101 #line 2102 "configure"
     2102#line 2103 "configure"
    21022103#include "confdefs.h"
    21032104#include <sys/types.h>
     
    21272128
    21282129echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2129 echo "configure:2130: checking whether time.h and sys/time.h may both be included" >&5
     2130echo "configure:2131: checking whether time.h and sys/time.h may both be included" >&5
    21302131if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    21312132  echo $ac_n "(cached) $ac_c" 1>&6
    21322133else
    21332134  cat > conftest.$ac_ext <<EOF
    2134 #line 2135 "configure"
     2135#line 2136 "configure"
    21352136#include "confdefs.h"
    21362137#include <sys/types.h>
     
    21412142; return 0; }
    21422143EOF
    2143 if { (eval echo configure:2144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2144if { (eval echo configure:2145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21442145  rm -rf conftest*
    21452146  ac_cv_header_time=yes
     
    21622163
    21632164echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2164 echo "configure:2165: checking whether struct tm is in sys/time.h or time.h" >&5
     2165echo "configure:2166: checking whether struct tm is in sys/time.h or time.h" >&5
    21652166if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    21662167  echo $ac_n "(cached) $ac_c" 1>&6
    21672168else
    21682169  cat > conftest.$ac_ext <<EOF
    2169 #line 2170 "configure"
     2170#line 2171 "configure"
    21702171#include "confdefs.h"
    21712172#include <sys/types.h>
     
    21752176; return 0; }
    21762177EOF
    2177 if { (eval echo configure:2178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2178if { (eval echo configure:2179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21782179  rm -rf conftest*
    21792180  ac_cv_struct_tm=time.h
     
    22002201# for constant arguments.  Useless!
    22012202echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2202 echo "configure:2203: checking for working alloca.h" >&5
     2203echo "configure:2204: checking for working alloca.h" >&5
    22032204if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    22042205  echo $ac_n "(cached) $ac_c" 1>&6
    22052206else
    22062207  cat > conftest.$ac_ext <<EOF
    2207 #line 2208 "configure"
     2208#line 2209 "configure"
    22082209#include "confdefs.h"
    22092210#include <alloca.h>
     
    22122213; return 0; }
    22132214EOF
    2214 if { (eval echo configure:2215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2215if { (eval echo configure:2216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22152216  rm -rf conftest*
    22162217  ac_cv_header_alloca_h=yes
     
    22332234
    22342235echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2235 echo "configure:2236: checking for alloca" >&5
     2236echo "configure:2237: checking for alloca" >&5
    22362237if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    22372238  echo $ac_n "(cached) $ac_c" 1>&6
    22382239else
    22392240  cat > conftest.$ac_ext <<EOF
    2240 #line 2241 "configure"
     2241#line 2242 "configure"
    22412242#include "confdefs.h"
    22422243
     
    22662267; return 0; }
    22672268EOF
    2268 if { (eval echo configure:2269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2269if { (eval echo configure:2270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22692270  rm -rf conftest*
    22702271  ac_cv_func_alloca_works=yes
     
    22982299
    22992300echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2300 echo "configure:2301: checking whether alloca needs Cray hooks" >&5
     2301echo "configure:2302: checking whether alloca needs Cray hooks" >&5
    23012302if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    23022303  echo $ac_n "(cached) $ac_c" 1>&6
    23032304else
    23042305  cat > conftest.$ac_ext <<EOF
    2305 #line 2306 "configure"
     2306#line 2307 "configure"
    23062307#include "confdefs.h"
    23072308#if defined(CRAY) && ! defined(CRAY2)
     
    23282329for ac_func in _getb67 GETB67 getb67; do
    23292330  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2330 echo "configure:2331: checking for $ac_func" >&5
     2331echo "configure:2332: checking for $ac_func" >&5
    23312332if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    23322333  echo $ac_n "(cached) $ac_c" 1>&6
    23332334else
    23342335  cat > conftest.$ac_ext <<EOF
    2335 #line 2336 "configure"
     2336#line 2337 "configure"
    23362337#include "confdefs.h"
    23372338/* System header to define __stub macros and hopefully few prototypes,
     
    23562357; return 0; }
    23572358EOF
    2358 if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2359if { (eval echo configure:2360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23592360  rm -rf conftest*
    23602361  eval "ac_cv_func_$ac_func=yes"
     
    23832384
    23842385echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2385 echo "configure:2386: checking stack direction for C alloca" >&5
     2386echo "configure:2387: checking stack direction for C alloca" >&5
    23862387if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    23872388  echo $ac_n "(cached) $ac_c" 1>&6
     
    23912392else
    23922393  cat > conftest.$ac_ext <<EOF
    2393 #line 2394 "configure"
     2394#line 2395 "configure"
    23942395#include "confdefs.h"
    23952396find_stack_direction ()
     
    24102411}
    24112412EOF
    2412 if { (eval echo configure:2413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2413if { (eval echo configure:2414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24132414then
    24142415  ac_cv_c_stack_direction=1
     
    24332434if test $ac_cv_prog_gcc = yes; then
    24342435    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2435 echo "configure:2436: checking whether ${CC-cc} needs -traditional" >&5
     2436echo "configure:2437: checking whether ${CC-cc} needs -traditional" >&5
    24362437if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    24372438  echo $ac_n "(cached) $ac_c" 1>&6
     
    24392440    ac_pattern="Autoconf.*'x'"
    24402441  cat > conftest.$ac_ext <<EOF
    2441 #line 2442 "configure"
     2442#line 2443 "configure"
    24422443#include "confdefs.h"
    24432444#include <sgtty.h>
     
    24572458  if test $ac_cv_prog_gcc_traditional = no; then
    24582459    cat > conftest.$ac_ext <<EOF
    2459 #line 2460 "configure"
     2460#line 2461 "configure"
    24602461#include "confdefs.h"
    24612462#include <termio.h>
     
    24822483ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    24832484echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2484 echo "configure:2485: checking for $ac_hdr" >&5
     2485echo "configure:2486: checking for $ac_hdr" >&5
    24852486if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24862487  echo $ac_n "(cached) $ac_c" 1>&6
    24872488else
    24882489  cat > conftest.$ac_ext <<EOF
    2489 #line 2490 "configure"
     2490#line 2491 "configure"
    24902491#include "confdefs.h"
    24912492#include <$ac_hdr>
    24922493EOF
    24932494ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2494 { (eval echo configure:2495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2495{ (eval echo configure:2496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24952496ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24962497if test -z "$ac_err"; then
     
    25212522do
    25222523echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2523 echo "configure:2524: checking for $ac_func" >&5
     2524echo "configure:2525: checking for $ac_func" >&5
    25242525if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    25252526  echo $ac_n "(cached) $ac_c" 1>&6
    25262527else
    25272528  cat > conftest.$ac_ext <<EOF
    2528 #line 2529 "configure"
     2529#line 2530 "configure"
    25292530#include "confdefs.h"
    25302531/* System header to define __stub macros and hopefully few prototypes,
     
    25492550; return 0; }
    25502551EOF
    2551 if { (eval echo configure:2552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2552if { (eval echo configure:2553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25522553  rm -rf conftest*
    25532554  eval "ac_cv_func_$ac_func=yes"
     
    25742575
    25752576echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2576 echo "configure:2577: checking for working mmap" >&5
     2577echo "configure:2578: checking for working mmap" >&5
    25772578if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    25782579  echo $ac_n "(cached) $ac_c" 1>&6
     
    25822583else
    25832584  cat > conftest.$ac_ext <<EOF
    2584 #line 2585 "configure"
     2585#line 2586 "configure"
    25852586#include "confdefs.h"
    25862587
     
    27222723
    27232724EOF
    2724 if { (eval echo configure:2725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2725if { (eval echo configure:2726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    27252726then
    27262727  ac_cv_func_mmap_fixed_mapped=yes
     
    27452746
    27462747echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2747 echo "configure:2748: checking return type of signal handlers" >&5
     2748echo "configure:2749: checking return type of signal handlers" >&5
    27482749if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    27492750  echo $ac_n "(cached) $ac_c" 1>&6
    27502751else
    27512752  cat > conftest.$ac_ext <<EOF
    2752 #line 2753 "configure"
     2753#line 2754 "configure"
    27532754#include "confdefs.h"
    27542755#include <sys/types.h>
     
    27672768; return 0; }
    27682769EOF
    2769 if { (eval echo configure:2770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2770if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27702771  rm -rf conftest*
    27712772  ac_cv_type_signal=void
     
    27862787
    27872788echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2788 echo "configure:2789: checking for vprintf" >&5
     2789echo "configure:2790: checking for vprintf" >&5
    27892790if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    27902791  echo $ac_n "(cached) $ac_c" 1>&6
    27912792else
    27922793  cat > conftest.$ac_ext <<EOF
    2793 #line 2794 "configure"
     2794#line 2795 "configure"
    27942795#include "confdefs.h"
    27952796/* System header to define __stub macros and hopefully few prototypes,
     
    28142815; return 0; }
    28152816EOF
    2816 if { (eval echo configure:2817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2817if { (eval echo configure:2818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28172818  rm -rf conftest*
    28182819  eval "ac_cv_func_vprintf=yes"
     
    28382839if test "$ac_cv_func_vprintf" != yes; then
    28392840echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2840 echo "configure:2841: checking for _doprnt" >&5
     2841echo "configure:2842: checking for _doprnt" >&5
    28412842if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    28422843  echo $ac_n "(cached) $ac_c" 1>&6
    28432844else
    28442845  cat > conftest.$ac_ext <<EOF
    2845 #line 2846 "configure"
     2846#line 2847 "configure"
    28462847#include "confdefs.h"
    28472848/* System header to define __stub macros and hopefully few prototypes,
     
    28662867; return 0; }
    28672868EOF
    2868 if { (eval echo configure:2869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2869if { (eval echo configure:2870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28692870  rm -rf conftest*
    28702871  eval "ac_cv_func__doprnt=yes"
     
    28902891fi
    28912892
    2892 for ac_func in gettimeofday atexit bcopy getcwd getwd vsnprintf readlink sleep usleep setenv getpwnam popen
     2893
     2894echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6
     2895echo "configure:2896: checking for library containing setenv" >&5
     2896if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then
     2897  echo $ac_n "(cached) $ac_c" 1>&6
     2898else
     2899  ac_func_search_save_LIBS="$LIBS"
     2900ac_cv_search_setenv="no"
     2901cat > conftest.$ac_ext <<EOF
     2902#line 2903 "configure"
     2903#include "confdefs.h"
     2904/* Override any gcc2 internal prototype to avoid an error.  */
     2905/* We use char because int might match the return type of a gcc2
     2906    builtin and then its argument prototype would still apply.  */
     2907char setenv();
     2908
     2909int main() {
     2910setenv()
     2911; return 0; }
     2912EOF
     2913if { (eval echo configure:2914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2914  rm -rf conftest*
     2915  ac_cv_search_setenv="none required"
     2916else
     2917  echo "configure: failed program was:" >&5
     2918  cat conftest.$ac_ext >&5
     2919fi
     2920rm -f conftest*
     2921test "$ac_cv_search_setenv" = "no" && for i in bsd; do
     2922LIBS="-l$i  $ac_func_search_save_LIBS"
     2923cat > conftest.$ac_ext <<EOF
     2924#line 2925 "configure"
     2925#include "confdefs.h"
     2926/* Override any gcc2 internal prototype to avoid an error.  */
     2927/* We use char because int might match the return type of a gcc2
     2928    builtin and then its argument prototype would still apply.  */
     2929char setenv();
     2930
     2931int main() {
     2932setenv()
     2933; return 0; }
     2934EOF
     2935if { (eval echo configure:2936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2936  rm -rf conftest*
     2937  ac_cv_search_setenv="-l$i"
     2938break
     2939else
     2940  echo "configure: failed program was:" >&5
     2941  cat conftest.$ac_ext >&5
     2942fi
     2943rm -f conftest*
     2944done
     2945LIBS="$ac_func_search_save_LIBS"
     2946fi
     2947
     2948echo "$ac_t""$ac_cv_search_setenv" 1>&6
     2949if test "$ac_cv_search_setenv" != "no"; then
     2950  test "$ac_cv_search_setenv" = "none required" || LIBS="$ac_cv_search_setenv $LIBS"
     2951 
     2952else :
     2953 
     2954fi
     2955for ac_func in gettimeofday atexit bcopy getcwd getwd vsnprintf readlink sleep usleep getpwnam popen setenv
    28932956do
    28942957echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2895 echo "configure:2896: checking for $ac_func" >&5
     2958echo "configure:2959: checking for $ac_func" >&5
    28962959if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28972960  echo $ac_n "(cached) $ac_c" 1>&6
    28982961else
    28992962  cat > conftest.$ac_ext <<EOF
    2900 #line 2901 "configure"
     2963#line 2964 "configure"
    29012964#include "confdefs.h"
    29022965/* System header to define __stub macros and hopefully few prototypes,
     
    29212984; return 0; }
    29222985EOF
    2923 if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2986if { (eval echo configure:2987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29242987  rm -rf conftest*
    29252988  eval "ac_cv_func_$ac_func=yes"
     
    29473010
    29483011
     3012
    29493013# arithmetic shifts
    29503014echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    2951 echo "configure:2952: checking whether your machine has correct arithmetic shifts" >&5
     3015echo "configure:3016: checking whether your machine has correct arithmetic shifts" >&5
    29523016if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    29533017  echo $ac_n "(cached) $ac_c" 1>&6
     
    29623026else
    29633027  cat > conftest.$ac_ext <<EOF
    2964 #line 2965 "configure"
     3028#line 3029 "configure"
    29653029#include "confdefs.h"
    29663030 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    29673031EOF
    2968 if { (eval echo configure:2969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3032if { (eval echo configure:3033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29693033then
    29703034  ac_cv_shift=yes
     
    29913055# check for a peculiar constructor initialization
    29923056echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    2993 echo "configure:2994: checking whether explicit C++ constructor calls are allowed" >&5
     3057echo "configure:3058: checking whether explicit C++ constructor calls are allowed" >&5
    29943058
    29953059ac_ext=C
     
    30043068else
    30053069  cat > conftest.$ac_ext <<EOF
    3006 #line 3007 "configure"
     3070#line 3071 "configure"
    30073071#include "confdefs.h"
    30083072
     
    30223086; return 0; }
    30233087EOF
    3024 if { (eval echo configure:3025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3088if { (eval echo configure:3089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    30253089  rm -rf conftest*
    30263090  ac_cv_explicit_const=yes
     
    30513115# sprintf returns number of printed chars
    30523116echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3053 echo "configure:3054: checking whether vsprintf returns number of printed chars" >&5
     3117echo "configure:3118: checking whether vsprintf returns number of printed chars" >&5
    30543118if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    30553119  echo $ac_n "(cached) $ac_c" 1>&6
     
    30593123else
    30603124  cat > conftest.$ac_ext <<EOF
    3061 #line 3062 "configure"
     3125#line 3126 "configure"
    30623126#include "confdefs.h"
    30633127#include <stdio.h>
    30643128 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    30653129EOF
    3066 if { (eval echo configure:3067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3130if { (eval echo configure:3131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30673131then
    30683132  ac_cv_returns_n_of_chars=yes
     
    30903154# determine ALIGN_8
    30913155echo $ac_n "checking size of char""... $ac_c" 1>&6
    3092 echo "configure:3093: checking size of char" >&5
     3156echo "configure:3157: checking size of char" >&5
    30933157if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    30943158  echo $ac_n "(cached) $ac_c" 1>&6
     
    30983162else
    30993163  cat > conftest.$ac_ext <<EOF
    3100 #line 3101 "configure"
     3164#line 3165 "configure"
    31013165#include "confdefs.h"
    31023166#include <stdio.h>
     
    31093173}
    31103174EOF
    3111 if { (eval echo configure:3112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3175if { (eval echo configure:3176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31123176then
    31133177  ac_cv_sizeof_char=`cat conftestval`
     
    31293193
    31303194echo $ac_n "checking size of short""... $ac_c" 1>&6
    3131 echo "configure:3132: checking size of short" >&5
     3195echo "configure:3196: checking size of short" >&5
    31323196if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    31333197  echo $ac_n "(cached) $ac_c" 1>&6
     
    31373201else
    31383202  cat > conftest.$ac_ext <<EOF
    3139 #line 3140 "configure"
     3203#line 3204 "configure"
    31403204#include "confdefs.h"
    31413205#include <stdio.h>
     
    31483212}
    31493213EOF
    3150 if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3214if { (eval echo configure:3215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31513215then
    31523216  ac_cv_sizeof_short=`cat conftestval`
     
    31683232
    31693233echo $ac_n "checking size of int""... $ac_c" 1>&6
    3170 echo "configure:3171: checking size of int" >&5
     3234echo "configure:3235: checking size of int" >&5
    31713235if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    31723236  echo $ac_n "(cached) $ac_c" 1>&6
     
    31763240else
    31773241  cat > conftest.$ac_ext <<EOF
    3178 #line 3179 "configure"
     3242#line 3243 "configure"
    31793243#include "confdefs.h"
    31803244#include <stdio.h>
     
    31873251}
    31883252EOF
    3189 if { (eval echo configure:3190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3253if { (eval echo configure:3254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31903254then
    31913255  ac_cv_sizeof_int=`cat conftestval`
     
    32073271
    32083272echo $ac_n "checking size of long""... $ac_c" 1>&6
    3209 echo "configure:3210: checking size of long" >&5
     3273echo "configure:3274: checking size of long" >&5
    32103274if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    32113275  echo $ac_n "(cached) $ac_c" 1>&6
     
    32153279else
    32163280  cat > conftest.$ac_ext <<EOF
    3217 #line 3218 "configure"
     3281#line 3282 "configure"
    32183282#include "confdefs.h"
    32193283#include <stdio.h>
     
    32263290}
    32273291EOF
    3228 if { (eval echo configure:3229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3292if { (eval echo configure:3293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32293293then
    32303294  ac_cv_sizeof_long=`cat conftestval`
     
    32463310
    32473311echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3248 echo "configure:3249: checking size of void*" >&5
     3312echo "configure:3313: checking size of void*" >&5
    32493313if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    32503314  echo $ac_n "(cached) $ac_c" 1>&6
     
    32543318else
    32553319  cat > conftest.$ac_ext <<EOF
    3256 #line 3257 "configure"
     3320#line 3321 "configure"
    32573321#include "confdefs.h"
    32583322#include <stdio.h>
     
    32653329}
    32663330EOF
    3267 if { (eval echo configure:3268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3331if { (eval echo configure:3332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32683332then
    32693333  ac_cv_sizeof_voidp=`cat conftestval`
     
    32853349
    32863350echo $ac_n "checking size of double""... $ac_c" 1>&6
    3287 echo "configure:3288: checking size of double" >&5
     3351echo "configure:3352: checking size of double" >&5
    32883352if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    32893353  echo $ac_n "(cached) $ac_c" 1>&6
     
    32933357else
    32943358  cat > conftest.$ac_ext <<EOF
    3295 #line 3296 "configure"
     3359#line 3360 "configure"
    32963360#include "confdefs.h"
    32973361#include <stdio.h>
     
    33043368}
    33053369EOF
    3306 if { (eval echo configure:3307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3370if { (eval echo configure:3371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33073371then
    33083372  ac_cv_sizeof_double=`cat conftestval`
     
    33243388
    33253389echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3326 echo "configure:3327: checking whether byte ordering is bigendian" >&5
     3390echo "configure:3391: checking whether byte ordering is bigendian" >&5
    33273391if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    33283392  echo $ac_n "(cached) $ac_c" 1>&6
     
    33313395# See if sys/param.h defines the BYTE_ORDER macro.
    33323396cat > conftest.$ac_ext <<EOF
    3333 #line 3334 "configure"
     3397#line 3398 "configure"
    33343398#include "confdefs.h"
    33353399#include <sys/types.h>
     
    33423406; return 0; }
    33433407EOF
    3344 if { (eval echo configure:3345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3408if { (eval echo configure:3409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33453409  rm -rf conftest*
    33463410  # It does; now see whether it defined to BIG_ENDIAN or not.
    33473411cat > conftest.$ac_ext <<EOF
    3348 #line 3349 "configure"
     3412#line 3413 "configure"
    33493413#include "confdefs.h"
    33503414#include <sys/types.h>
     
    33573421; return 0; }
    33583422EOF
    3359 if { (eval echo configure:3360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3423if { (eval echo configure:3424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33603424  rm -rf conftest*
    33613425  ac_cv_c_bigendian=yes
     
    33773441else
    33783442  cat > conftest.$ac_ext <<EOF
    3379 #line 3380 "configure"
     3443#line 3444 "configure"
    33803444#include "confdefs.h"
    33813445main () {
     
    33903454}
    33913455EOF
    3392 if { (eval echo configure:3393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3456if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33933457then
    33943458  ac_cv_c_bigendian=no
     
    35083572
    35093573echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
    3510 echo "configure:3511: checking whether to use dynamic linking" >&5
     3574echo "configure:3575: checking whether to use dynamic linking" >&5
    35113575if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    35123576  cat >> confdefs.h <<\EOF
     
    35213585
    35223586echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3523 echo "configure:3524: checking for tgetent in -lncurses" >&5
     3587echo "configure:3588: checking for tgetent in -lncurses" >&5
    35243588ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    35253589if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    35293593LIBS="-lncurses  $LIBS"
    35303594cat > conftest.$ac_ext <<EOF
    3531 #line 3532 "configure"
     3595#line 3596 "configure"
    35323596#include "confdefs.h"
    35333597/* Override any gcc2 internal prototype to avoid an error.  */
     
    35403604; return 0; }
    35413605EOF
    3542 if { (eval echo configure:3543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3606if { (eval echo configure:3607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35433607  rm -rf conftest*
    35443608  eval "ac_cv_lib_$ac_lib_var=yes"
     
    35673631\
    35683632 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3569 echo "configure:3570: checking for tgetent in -lcurses" >&5
     3633echo "configure:3634: checking for tgetent in -lcurses" >&5
    35703634ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    35713635if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    35753639LIBS="-lcurses  $LIBS"
    35763640cat > conftest.$ac_ext <<EOF
    3577 #line 3578 "configure"
     3641#line 3642 "configure"
    35783642#include "confdefs.h"
    35793643/* Override any gcc2 internal prototype to avoid an error.  */
     
    35863650; return 0; }
    35873651EOF
    3588 if { (eval echo configure:3589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3652if { (eval echo configure:3653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35893653  rm -rf conftest*
    35903654  eval "ac_cv_lib_$ac_lib_var=yes"
     
    36133677\
    36143678  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    3615 echo "configure:3616: checking for tgetent in -ltermcap" >&5
     3679echo "configure:3680: checking for tgetent in -ltermcap" >&5
    36163680ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    36173681if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    36213685LIBS="-ltermcap  $LIBS"
    36223686cat > conftest.$ac_ext <<EOF
    3623 #line 3624 "configure"
     3687#line 3688 "configure"
    36243688#include "confdefs.h"
    36253689/* Override any gcc2 internal prototype to avoid an error.  */
     
    36323696; return 0; }
    36333697EOF
    3634 if { (eval echo configure:3635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3698if { (eval echo configure:3699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36353699  rm -rf conftest*
    36363700  eval "ac_cv_lib_$ac_lib_var=yes"
     
    36813745
    36823746   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    3683 echo "configure:3684: checking for rl_abort in -lreadline" >&5
     3747echo "configure:3748: checking for rl_abort in -lreadline" >&5
    36843748ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    36853749if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    36893753LIBS="-lreadline  $LIBS"
    36903754cat > conftest.$ac_ext <<EOF
    3691 #line 3692 "configure"
     3755#line 3756 "configure"
    36923756#include "confdefs.h"
    36933757/* Override any gcc2 internal prototype to avoid an error.  */
     
    37033767; return 0; }
    37043768EOF
    3705 if { (eval echo configure:3706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3769if { (eval echo configure:3770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37063770  rm -rf conftest*
    37073771  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37313795
    37323796   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    3733 echo "configure:3734: checking how to run the C++ preprocessor" >&5
     3797echo "configure:3798: checking how to run the C++ preprocessor" >&5
    37343798if test -z "$CXXCPP"; then
    37353799if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    37443808  CXXCPP="${CXX-g++} -E"
    37453809  cat > conftest.$ac_ext <<EOF
    3746 #line 3747 "configure"
     3810#line 3811 "configure"
    37473811#include "confdefs.h"
    37483812#include <stdlib.h>
    37493813EOF
    37503814ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3751 { (eval echo configure:3752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3815{ (eval echo configure:3816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    37523816ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    37533817if test -z "$ac_err"; then
     
    37773841ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    37783842echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3779 echo "configure:3780: checking for $ac_hdr" >&5
     3843echo "configure:3844: checking for $ac_hdr" >&5
    37803844if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    37813845  echo $ac_n "(cached) $ac_c" 1>&6
    37823846else
    37833847  cat > conftest.$ac_ext <<EOF
    3784 #line 3785 "configure"
     3848#line 3849 "configure"
    37853849#include "confdefs.h"
    37863850#include <$ac_hdr>
    37873851EOF
    37883852ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3789 { (eval echo configure:3790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3853{ (eval echo configure:3854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    37903854ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    37913855if test -z "$ac_err"; then
     
    38163880      test "$ac_cv_header_readline_readline_h" = yes; then
    38173881     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    3818 echo "configure:3819: checking whether readline.h is ok" >&5
     3882echo "configure:3883: checking whether readline.h is ok" >&5
    38193883     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    38203884  echo $ac_n "(cached) $ac_c" 1>&6
    38213885else
    38223886  cat > conftest.$ac_ext <<EOF
    3823 #line 3824 "configure"
     3887#line 3888 "configure"
    38243888#include "confdefs.h"
    38253889#include<unistd.h>
     
    38463910; return 0; }
    38473911EOF
    3848 if { (eval echo configure:3849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3912if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38493913  rm -rf conftest*
    38503914  ac_cv_header_readline_readline_h_ok="yes"
     
    38623926#not ok -- try once more with explicitly declaring everything
    38633927      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    3864 echo "configure:3865: checking whether or not we nevertheless can use readline" >&5
     3928echo "configure:3929: checking whether or not we nevertheless can use readline" >&5
    38653929      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    38663930  echo $ac_n "(cached) $ac_c" 1>&6
    38673931else
    38683932  cat > conftest.$ac_ext <<EOF
    3869 #line 3870 "configure"
     3933#line 3934 "configure"
    38703934#include "confdefs.h"
    38713935#include <stdio.h>
     
    39013965; return 0; }
    39023966EOF
    3903 if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3967if { (eval echo configure:3968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39043968  rm -rf conftest*
    39053969  ac_cv_have_readline="yes"
     
    39404004
    39414005echo $ac_n "checking which readline to use""... $ac_c" 1>&6
    3942 echo "configure:3943: checking which readline to use" >&5
     4006echo "configure:4007: checking which readline to use" >&5
    39434007if test "$ac_cv_with_readline" = dynamic; then
    39444008  echo "$ac_t""dynamic" 1>&6
     
    39584022# gmp, smallgmp, MP, MPT, factory, libfac
    39594023echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    3960 echo "configure:3961: checking for main in -lgmp" >&5
     4024echo "configure:4025: checking for main in -lgmp" >&5
    39614025ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    39624026if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    39664030LIBS="-lgmp  $LIBS"
    39674031cat > conftest.$ac_ext <<EOF
    3968 #line 3969 "configure"
     4032#line 4033 "configure"
    39694033#include "confdefs.h"
    39704034
     
    39734037; return 0; }
    39744038EOF
    3975 if { (eval echo configure:3976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4039if { (eval echo configure:4040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39764040  rm -rf conftest*
    39774041  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40044068fi
    40054069echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6
    4006 echo "configure:4007: checking for main in -lsmallgmp" >&5
     4070echo "configure:4071: checking for main in -lsmallgmp" >&5
    40074071ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'`
    40084072if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40124076LIBS="-lsmallgmp  $LIBS"
    40134077cat > conftest.$ac_ext <<EOF
    4014 #line 4015 "configure"
     4078#line 4079 "configure"
    40154079#include "confdefs.h"
    40164080
     
    40194083; return 0; }
    40204084EOF
    4021 if { (eval echo configure:4022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4085if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40224086  rm -rf conftest*
    40234087  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40484112SAVE_LIBS=$LIBS
    40494113echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4050 echo "configure:4051: checking for IMP_PutGmpInt in -lMP" >&5
     4114echo "configure:4115: checking for IMP_PutGmpInt in -lMP" >&5
    40514115ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    40524116if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40564120LIBS="-lMP $MP_LIBS $LIBS"
    40574121cat > conftest.$ac_ext <<EOF
    4058 #line 4059 "configure"
     4122#line 4123 "configure"
    40594123#include "confdefs.h"
    40604124/* Override any gcc2 internal prototype to avoid an error.  */
     
    40674131; return 0; }
    40684132EOF
    4069 if { (eval echo configure:4070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4133if { (eval echo configure:4134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40704134  rm -rf conftest*
    40714135  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40954159
    40964160echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4097 echo "configure:4098: checking for MPT_GetTree in -lMPT" >&5
     4161echo "configure:4162: checking for MPT_GetTree in -lMPT" >&5
    40984162ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    40994163if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41034167LIBS="-lMPT $MP_LIBS $LIBS"
    41044168cat > conftest.$ac_ext <<EOF
    4105 #line 4106 "configure"
     4169#line 4170 "configure"
    41064170#include "confdefs.h"
    41074171/* Override any gcc2 internal prototype to avoid an error.  */
     
    41144178; return 0; }
    41154179EOF
    4116 if { (eval echo configure:4117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4180if { (eval echo configure:4181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41174181  rm -rf conftest*
    41184182  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41434207LIBS=$SAVE_LIBS
    41444208echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4145 echo "configure:4146: checking for atof in -lsingcf" >&5
     4209echo "configure:4210: checking for atof in -lsingcf" >&5
    41464210ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    41474211if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41514215LIBS="-lsingcf  $LIBS"
    41524216cat > conftest.$ac_ext <<EOF
    4153 #line 4154 "configure"
     4217#line 4218 "configure"
    41544218#include "confdefs.h"
    41554219/* Override any gcc2 internal prototype to avoid an error.  */
     
    41624226; return 0; }
    41634227EOF
    4164 if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4228if { (eval echo configure:4229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41654229  rm -rf conftest*
    41664230  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41904254
    41914255echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4192 echo "configure:4193: checking for atof in -lsingfac" >&5
     4256echo "configure:4257: checking for atof in -lsingfac" >&5
    41934257ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    41944258if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41984262LIBS="-lsingfac  $LIBS"
    41994263cat > conftest.$ac_ext <<EOF
    4200 #line 4201 "configure"
     4264#line 4265 "configure"
    42014265#include "confdefs.h"
    42024266/* Override any gcc2 internal prototype to avoid an error.  */
     
    42094273; return 0; }
    42104274EOF
    4211 if { (eval echo configure:4212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4275if { (eval echo configure:4276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42124276  rm -rf conftest*
    42134277  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42374301
    42384302echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4239 echo "configure:4240: checking for omTestAddr in -lomalloc" >&5
     4303echo "configure:4304: checking for omTestAddr in -lomalloc" >&5
    42404304ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    42414305if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42454309LIBS="-lomalloc  $LIBS"
    42464310cat > conftest.$ac_ext <<EOF
    4247 #line 4248 "configure"
     4311#line 4312 "configure"
    42484312#include "confdefs.h"
    42494313/* Override any gcc2 internal prototype to avoid an error.  */
     
    42564320; return 0; }
    42574321EOF
    4258 if { (eval echo configure:4259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4322if { (eval echo configure:4323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42594323  rm -rf conftest*
    42604324  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42844348
    42854349echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4286 echo "configure:4287: checking for main in -lomalloc_ndebug" >&5
     4350echo "configure:4351: checking for main in -lomalloc_ndebug" >&5
    42874351ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    42884352if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42924356LIBS="-lomalloc_ndebug  $LIBS"
    42934357cat > conftest.$ac_ext <<EOF
    4294 #line 4295 "configure"
     4358#line 4359 "configure"
    42954359#include "confdefs.h"
    42964360
     
    42994363; return 0; }
    43004364EOF
    4301 if { (eval echo configure:4302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4365if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43024366  rm -rf conftest*
    43034367  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43314395ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    43324396echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4333 echo "configure:4334: checking for $ac_hdr" >&5
     4397echo "configure:4398: checking for $ac_hdr" >&5
    43344398if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    43354399  echo $ac_n "(cached) $ac_c" 1>&6
    43364400else
    43374401  cat > conftest.$ac_ext <<EOF
    4338 #line 4339 "configure"
     4402#line 4403 "configure"
    43394403#include "confdefs.h"
    43404404#include <$ac_hdr>
    43414405EOF
    43424406ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4343 { (eval echo configure:4344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4407{ (eval echo configure:4408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    43444408ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    43454409if test -z "$ac_err"; then
     
    44104474
    44114475echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4412 echo "configure:4413: checking which apint package to use" >&5
     4476echo "configure:4477: checking which apint package to use" >&5
    44134477if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    44144478  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    44524516#
    44534517echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4454 echo "configure:4455: checking whether to have MP" >&5
     4518echo "configure:4519: checking whether to have MP" >&5
    44554519if test "${with_MP}" != yes && test "${with_MP}" != no; then
    44564520  if (test "${will_have_gmp}" = yes) && \
     
    44874551
    44884552echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4489 echo "configure:4490: checking whether to have factory" >&5
     4553echo "configure:4554: checking whether to have factory" >&5
    44904554if test "${with_factory}" != yes && test "${with_factory}" != no; then
    44914555  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    45184582
    45194583echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4520 echo "configure:4521: checking whether to have libfac" >&5
     4584echo "configure:4585: checking whether to have libfac" >&5
    45214585if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    45224586  if (test "${will_have_factory}" = yes) && \
     
    45524616
    45534617echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4554 echo "configure:4555: checking whether to have dbm links" >&5
     4618echo "configure:4619: checking whether to have dbm links" >&5
    45554619if test "$with_dbm" != no; then
    45564620  cat >> confdefs.h <<\EOF
     
    45644628
    45654629echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4566 echo "configure:4567: checking whether to have namespaces" >&5
     4630echo "configure:4631: checking whether to have namespaces" >&5
    45674631if test "$with_namespaces" != yes; then
    45684632  echo "$ac_t""no" 1>&6
     
    45764640
    45774641echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    4578 echo "configure:4579: checking whether to have dynamic modules" >&5
     4642echo "configure:4643: checking whether to have dynamic modules" >&5
    45794643if test "$with_dynamic_modules" != yes || test "$ac_have_dl" != yes; then
    45804644  echo "$ac_t""no" 1>&6
     
    45884652
    45894653echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    4590 echo "configure:4591: checking whether to have dynamic kernel" >&5
     4654echo "configure:4655: checking whether to have dynamic kernel" >&5
    45914655if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    45924656  DL_KERNEL=1
     
    45964660
    45974661echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    4598 echo "configure:4599: checking whether to have Plural" >&5
     4662echo "configure:4663: checking whether to have Plural" >&5
    45994663if test "$with_plural" != yes; then
    46004664  echo "$ac_t""no" 1>&6
  • Singular/configure.in

    r5f9c103 r013557  
    317317LIBS=${SAVE_LIBS}
    318318
     319
    319320# heder file checks
    320321AC_HEADER_STDC
     
    337338AC_TYPE_SIGNAL
    338339AC_FUNC_VPRINTF
    339 AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd vsnprintf readlink sleep usleep setenv getpwnam popen)
     340AC_SEARCH_LIBS(setenv, bsd)
     341AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd vsnprintf readlink sleep usleep getpwnam popen setenv)
     342
    340343
    341344dnl llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
Note: See TracChangeset for help on using the changeset viewer.