Changeset 20ac44 in git


Ignore:
Timestamp:
Jun 21, 2006, 6:09:57 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c1c65551e4b3a0de0b13ddf30446f6e9569681b5')
Children:
28ea375f35a4fd1ad629250a135ea454c5e1ce4f
Parents:
1d0eb7c8674d138420b1f0ed4dc02f37ab3d008e
Message:
*hannes: i386-SunOS-gcc


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

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r1d0eb7 r20ac44  
    17171717
    17181718fi
     1719echo $ac_n "checking for  in -lnsl""... $ac_c" 1>&6
     1720echo "configure:1721: checking for  in -lnsl" >&5
     1721ac_lib_var=`echo nsl'_' | sed 'y%./+-%__p_%'`
     1722if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1723  echo $ac_n "(cached) $ac_c" 1>&6
     1724else
     1725  ac_save_LIBS="$LIBS"
     1726LIBS="-lnsl  $LIBS"
     1727cat > conftest.$ac_ext <<EOF
     1728#line 1729 "configure"
     1729#include "confdefs.h"
     1730/* Override any gcc2 internal prototype to avoid an error.  */
     1731/* We use char because int might match the return type of a gcc2
     1732    builtin and then its argument prototype would still apply.  */
     1733char ();
     1734
     1735int main() {
     1736()
     1737; return 0; }
     1738EOF
     1739if { (eval echo configure:1740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1740  rm -rf conftest*
     1741  eval "ac_cv_lib_$ac_lib_var=yes"
     1742else
     1743  echo "configure: failed program was:" >&5
     1744  cat conftest.$ac_ext >&5
     1745  rm -rf conftest*
     1746  eval "ac_cv_lib_$ac_lib_var=no"
     1747fi
     1748rm -f conftest*
     1749LIBS="$ac_save_LIBS"
     1750
     1751fi
     1752if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1753  echo "$ac_t""yes" 1>&6
     1754    ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1755    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1756  cat >> confdefs.h <<EOF
     1757#define $ac_tr_lib 1
     1758EOF
     1759
     1760  LIBS="-lnsl $LIBS"
     1761
     1762else
     1763  echo "$ac_t""no" 1>&6
     1764fi
     1765
     1766echo $ac_n "checking for  in -lsocket""... $ac_c" 1>&6
     1767echo "configure:1768: checking for  in -lsocket" >&5
     1768ac_lib_var=`echo socket'_' | sed 'y%./+-%__p_%'`
     1769if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1770  echo $ac_n "(cached) $ac_c" 1>&6
     1771else
     1772  ac_save_LIBS="$LIBS"
     1773LIBS="-lsocket  $LIBS"
     1774cat > conftest.$ac_ext <<EOF
     1775#line 1776 "configure"
     1776#include "confdefs.h"
     1777/* Override any gcc2 internal prototype to avoid an error.  */
     1778/* We use char because int might match the return type of a gcc2
     1779    builtin and then its argument prototype would still apply.  */
     1780char ();
     1781
     1782int main() {
     1783()
     1784; return 0; }
     1785EOF
     1786if { (eval echo configure:1787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1787  rm -rf conftest*
     1788  eval "ac_cv_lib_$ac_lib_var=yes"
     1789else
     1790  echo "configure: failed program was:" >&5
     1791  cat conftest.$ac_ext >&5
     1792  rm -rf conftest*
     1793  eval "ac_cv_lib_$ac_lib_var=no"
     1794fi
     1795rm -f conftest*
     1796LIBS="$ac_save_LIBS"
     1797
     1798fi
     1799if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1800  echo "$ac_t""yes" 1>&6
     1801    ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1802    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1803  cat >> confdefs.h <<EOF
     1804#define $ac_tr_lib 1
     1805EOF
     1806
     1807  LIBS="-lsocket $LIBS"
     1808
     1809else
     1810  echo "$ac_t""no" 1>&6
     1811fi
     1812
    17191813SAVE_LIBS=${LIBS}
    17201814LIBS=
    17211815
    17221816echo $ac_n "checking for setenv in -lbsd""... $ac_c" 1>&6
    1723 echo "configure:1724: checking for setenv in -lbsd" >&5
     1817echo "configure:1818: checking for setenv in -lbsd" >&5
    17241818ac_lib_var=`echo bsd'_'setenv | sed 'y%./+-%__p_%'`
    17251819if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17291823LIBS="-lbsd  $LIBS"
    17301824cat > conftest.$ac_ext <<EOF
    1731 #line 1732 "configure"
     1825#line 1826 "configure"
    17321826#include "confdefs.h"
    17331827/* Override any gcc2 internal prototype to avoid an error.  */
     
    17401834; return 0; }
    17411835EOF
    1742 if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1836if { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17431837  rm -rf conftest*
    17441838  eval "ac_cv_lib_$ac_lib_var=yes"
     
    17671861fi
    17681862
     1863echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
     1864echo "configure:1865: checking for listen in -lsocket" >&5
     1865ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
     1866if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1867  echo $ac_n "(cached) $ac_c" 1>&6
     1868else
     1869  ac_save_LIBS="$LIBS"
     1870LIBS="-lsocket  $LIBS"
     1871cat > conftest.$ac_ext <<EOF
     1872#line 1873 "configure"
     1873#include "confdefs.h"
     1874/* Override any gcc2 internal prototype to avoid an error.  */
     1875/* We use char because int might match the return type of a gcc2
     1876    builtin and then its argument prototype would still apply.  */
     1877char listen();
     1878
     1879int main() {
     1880listen()
     1881; return 0; }
     1882EOF
     1883if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1884  rm -rf conftest*
     1885  eval "ac_cv_lib_$ac_lib_var=yes"
     1886else
     1887  echo "configure: failed program was:" >&5
     1888  cat conftest.$ac_ext >&5
     1889  rm -rf conftest*
     1890  eval "ac_cv_lib_$ac_lib_var=no"
     1891fi
     1892rm -f conftest*
     1893LIBS="$ac_save_LIBS"
     1894
     1895fi
     1896if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1897  echo "$ac_t""yes" 1>&6
     1898    ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1899    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1900  cat >> confdefs.h <<EOF
     1901#define $ac_tr_lib 1
     1902EOF
     1903
     1904  LIBS="-lsocket $LIBS"
     1905
     1906else
     1907  echo "$ac_t""no" 1>&6
     1908fi
     1909
     1910echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
     1911echo "configure:1912: checking for gethostbyname in -lnsl" >&5
     1912ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
     1913if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1914  echo $ac_n "(cached) $ac_c" 1>&6
     1915else
     1916  ac_save_LIBS="$LIBS"
     1917LIBS="-lnsl  $LIBS"
     1918cat > conftest.$ac_ext <<EOF
     1919#line 1920 "configure"
     1920#include "confdefs.h"
     1921/* Override any gcc2 internal prototype to avoid an error.  */
     1922/* We use char because int might match the return type of a gcc2
     1923    builtin and then its argument prototype would still apply.  */
     1924char gethostbyname();
     1925
     1926int main() {
     1927gethostbyname()
     1928; return 0; }
     1929EOF
     1930if { (eval echo configure:1931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1931  rm -rf conftest*
     1932  eval "ac_cv_lib_$ac_lib_var=yes"
     1933else
     1934  echo "configure: failed program was:" >&5
     1935  cat conftest.$ac_ext >&5
     1936  rm -rf conftest*
     1937  eval "ac_cv_lib_$ac_lib_var=no"
     1938fi
     1939rm -f conftest*
     1940LIBS="$ac_save_LIBS"
     1941
     1942fi
     1943if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1944  echo "$ac_t""yes" 1>&6
     1945    ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1946    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1947  cat >> confdefs.h <<EOF
     1948#define $ac_tr_lib 1
     1949EOF
     1950
     1951  LIBS="-lnsl $LIBS"
     1952
     1953else
     1954  echo "$ac_t""no" 1>&6
     1955fi
     1956
     1957MP_LIBS=${LIBS}
    17691958# check for dl lib
    17701959case "$ac_cv_singuname" in
    17711960        HPUX*)
    17721961          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    1773 echo "configure:1774: checking for shl_load in -ldld" >&5
     1962echo "configure:1963: checking for shl_load in -ldld" >&5
    17741963ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    17751964if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17791968LIBS="-ldld  $LIBS"
    17801969cat > conftest.$ac_ext <<EOF
    1781 #line 1782 "configure"
     1970#line 1971 "configure"
    17821971#include "confdefs.h"
    17831972/* Override any gcc2 internal prototype to avoid an error.  */
     
    17901979; return 0; }
    17911980EOF
    1792 if { (eval echo configure:1793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1981if { (eval echo configure:1982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    17931982  rm -rf conftest*
    17941983  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18272016        *Linux*)
    18282017          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    1829 echo "configure:1830: checking for dlopen in -ldl" >&5
     2018echo "configure:2019: checking for dlopen in -ldl" >&5
    18302019ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    18312020if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18352024LIBS="-ldl  $LIBS"
    18362025cat > conftest.$ac_ext <<EOF
    1837 #line 1838 "configure"
     2026#line 2027 "configure"
    18382027#include "confdefs.h"
    18392028/* Override any gcc2 internal prototype to avoid an error.  */
     
    18462035; return 0; }
    18472036EOF
    1848 if { (eval echo configure:1849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2037if { (eval echo configure:2038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18492038  rm -rf conftest*
    18502039  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18902079        SunOS-5)
    18912080          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    1892 echo "configure:1893: checking for dlopen in -ldl" >&5
     2081echo "configure:2082: checking for dlopen in -ldl" >&5
    18932082ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    18942083if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18982087LIBS="-ldl  $LIBS"
    18992088cat > conftest.$ac_ext <<EOF
    1900 #line 1901 "configure"
     2089#line 2090 "configure"
    19012090#include "confdefs.h"
    19022091/* Override any gcc2 internal prototype to avoid an error.  */
     
    19092098; return 0; }
    19102099EOF
    1911 if { (eval echo configure:1912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2100if { (eval echo configure:2101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19122101  rm -rf conftest*
    19132102  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19472136        ppcMac-darwin)
    19482137          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    1949 echo "configure:1950: checking for dlopen in -ldl" >&5
     2138echo "configure:2139: checking for dlopen in -ldl" >&5
    19502139ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    19512140if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    19552144LIBS="-ldl  $LIBS"
    19562145cat > conftest.$ac_ext <<EOF
    1957 #line 1958 "configure"
     2146#line 2147 "configure"
    19582147#include "confdefs.h"
    19592148/* Override any gcc2 internal prototype to avoid an error.  */
     
    19662155; return 0; }
    19672156EOF
    1968 if { (eval echo configure:1969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2157if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19692158  rm -rf conftest*
    19702159  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20032192        i386Mac-darwin)
    20042193          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2005 echo "configure:2006: checking for dlopen in -ldl" >&5
     2194echo "configure:2195: checking for dlopen in -ldl" >&5
    20062195ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    20072196if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20112200LIBS="-ldl  $LIBS"
    20122201cat > conftest.$ac_ext <<EOF
    2013 #line 2014 "configure"
     2202#line 2203 "configure"
    20142203#include "confdefs.h"
    20152204/* Override any gcc2 internal prototype to avoid an error.  */
     
    20222211; return 0; }
    20232212EOF
    2024 if { (eval echo configure:2025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2213if { (eval echo configure:2214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20252214  rm -rf conftest*
    20262215  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20592248        ix86-freebsd)
    20602249          echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
    2061 echo "configure:2062: checking for dlopen in -lc" >&5
     2250echo "configure:2251: checking for dlopen in -lc" >&5
    20622251ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
    20632252if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20672256LIBS="-lc  $LIBS"
    20682257cat > conftest.$ac_ext <<EOF
    2069 #line 2070 "configure"
     2258#line 2259 "configure"
    20702259#include "confdefs.h"
    20712260/* Override any gcc2 internal prototype to avoid an error.  */
     
    20782267; return 0; }
    20792268EOF
    2080 if { (eval echo configure:2081: \"$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
    20812270  rm -rf conftest*
    20822271  eval "ac_cv_lib_$ac_lib_var=yes"
     
    21232312# heder file checks
    21242313echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2125 echo "configure:2126: checking for ANSI C header files" >&5
     2314echo "configure:2315: checking for ANSI C header files" >&5
    21262315if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    21272316  echo $ac_n "(cached) $ac_c" 1>&6
    21282317else
    21292318  cat > conftest.$ac_ext <<EOF
    2130 #line 2131 "configure"
     2319#line 2320 "configure"
    21312320#include "confdefs.h"
    21322321#include <stdlib.h>
     
    21362325EOF
    21372326ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2138 { (eval echo configure:2139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2327{ (eval echo configure:2328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    21392328ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    21402329if test -z "$ac_err"; then
     
    21532342  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    21542343cat > conftest.$ac_ext <<EOF
    2155 #line 2156 "configure"
     2344#line 2345 "configure"
    21562345#include "confdefs.h"
    21572346#include <string.h>
     
    21712360  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    21722361cat > conftest.$ac_ext <<EOF
    2173 #line 2174 "configure"
     2362#line 2363 "configure"
    21742363#include "confdefs.h"
    21752364#include <stdlib.h>
     
    21922381else
    21932382  cat > conftest.$ac_ext <<EOF
    2194 #line 2195 "configure"
     2383#line 2384 "configure"
    21952384#include "confdefs.h"
    21962385#include <ctype.h>
     
    22032392
    22042393EOF
    2205 if { (eval echo configure:2206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2394if { (eval echo configure:2395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    22062395then
    22072396  :
     
    22302419ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    22312420echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2232 echo "configure:2233: checking for $ac_hdr" >&5
     2421echo "configure:2422: checking for $ac_hdr" >&5
    22332422if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    22342423  echo $ac_n "(cached) $ac_c" 1>&6
    22352424else
    22362425  cat > conftest.$ac_ext <<EOF
    2237 #line 2238 "configure"
     2426#line 2427 "configure"
    22382427#include "confdefs.h"
    22392428#include <$ac_hdr>
    22402429EOF
    22412430ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2242 { (eval echo configure:2243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2431{ (eval echo configure:2432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    22432432ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    22442433if test -z "$ac_err"; then
     
    22742463ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    22752464echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2276 echo "configure:2277: checking for $ac_hdr" >&5
     2465echo "configure:2466: checking for $ac_hdr" >&5
    22772466if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    22782467  echo $ac_n "(cached) $ac_c" 1>&6
    22792468else
    22802469  cat > conftest.$ac_ext <<EOF
    2281 #line 2282 "configure"
     2470#line 2471 "configure"
    22822471#include "confdefs.h"
    22832472#include <$ac_hdr>
    22842473EOF
    22852474ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2286 { (eval echo configure:2287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2475{ (eval echo configure:2476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    22872476ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    22882477if test -z "$ac_err"; then
     
    23132502# typedefs, structures
    23142503echo $ac_n "checking for working const""... $ac_c" 1>&6
    2315 echo "configure:2316: checking for working const" >&5
     2504echo "configure:2505: checking for working const" >&5
    23162505if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    23172506  echo $ac_n "(cached) $ac_c" 1>&6
    23182507else
    23192508  cat > conftest.$ac_ext <<EOF
    2320 #line 2321 "configure"
     2509#line 2510 "configure"
    23212510#include "confdefs.h"
    23222511
     
    23672556; return 0; }
    23682557EOF
    2369 if { (eval echo configure:2370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2558if { (eval echo configure:2559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    23702559  rm -rf conftest*
    23712560  ac_cv_c_const=yes
     
    23882577
    23892578echo $ac_n "checking for inline""... $ac_c" 1>&6
    2390 echo "configure:2391: checking for inline" >&5
     2579echo "configure:2580: checking for inline" >&5
    23912580if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    23922581  echo $ac_n "(cached) $ac_c" 1>&6
     
    23952584for ac_kw in inline __inline__ __inline; do
    23962585  cat > conftest.$ac_ext <<EOF
    2397 #line 2398 "configure"
     2586#line 2587 "configure"
    23982587#include "confdefs.h"
    23992588
     
    24022591; return 0; }
    24032592EOF
    2404 if { (eval echo configure:2405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2593if { (eval echo configure:2594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    24052594  rm -rf conftest*
    24062595  ac_cv_c_inline=$ac_kw; break
     
    24282617
    24292618echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2430 echo "configure:2431: checking for size_t" >&5
     2619echo "configure:2620: checking for size_t" >&5
    24312620if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    24322621  echo $ac_n "(cached) $ac_c" 1>&6
    24332622else
    24342623  cat > conftest.$ac_ext <<EOF
    2435 #line 2436 "configure"
     2624#line 2625 "configure"
    24362625#include "confdefs.h"
    24372626#include <sys/types.h>
     
    24612650
    24622651echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2463 echo "configure:2464: checking whether struct tm is in sys/time.h or time.h" >&5
     2652echo "configure:2653: checking whether struct tm is in sys/time.h or time.h" >&5
    24642653if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    24652654  echo $ac_n "(cached) $ac_c" 1>&6
    24662655else
    24672656  cat > conftest.$ac_ext <<EOF
    2468 #line 2469 "configure"
     2657#line 2658 "configure"
    24692658#include "confdefs.h"
    24702659#include <sys/types.h>
     
    24742663; return 0; }
    24752664EOF
    2476 if { (eval echo configure:2477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2665if { (eval echo configure:2666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    24772666  rm -rf conftest*
    24782667  ac_cv_struct_tm=time.h
     
    24952684
    24962685echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2497 echo "configure:2498: checking whether time.h and sys/time.h may both be included" >&5
     2686echo "configure:2687: checking whether time.h and sys/time.h may both be included" >&5
    24982687if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    24992688  echo $ac_n "(cached) $ac_c" 1>&6
    25002689else
    25012690  cat > conftest.$ac_ext <<EOF
    2502 #line 2503 "configure"
     2691#line 2692 "configure"
    25032692#include "confdefs.h"
    25042693#include <sys/types.h>
     
    25092698; return 0; }
    25102699EOF
    2511 if { (eval echo configure:2512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2700if { (eval echo configure:2701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    25122701  rm -rf conftest*
    25132702  ac_cv_header_time=yes
     
    25342723# for constant arguments.  Useless!
    25352724echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2536 echo "configure:2537: checking for working alloca.h" >&5
     2725echo "configure:2726: checking for working alloca.h" >&5
    25372726if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    25382727  echo $ac_n "(cached) $ac_c" 1>&6
    25392728else
    25402729  cat > conftest.$ac_ext <<EOF
    2541 #line 2542 "configure"
     2730#line 2731 "configure"
    25422731#include "confdefs.h"
    25432732#include <alloca.h>
     
    25462735; return 0; }
    25472736EOF
    2548 if { (eval echo configure:2549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2737if { (eval echo configure:2738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25492738  rm -rf conftest*
    25502739  ac_cv_header_alloca_h=yes
     
    25672756
    25682757echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2569 echo "configure:2570: checking for alloca" >&5
     2758echo "configure:2759: checking for alloca" >&5
    25702759if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    25712760  echo $ac_n "(cached) $ac_c" 1>&6
    25722761else
    25732762  cat > conftest.$ac_ext <<EOF
    2574 #line 2575 "configure"
     2763#line 2764 "configure"
    25752764#include "confdefs.h"
    25762765
     
    26002789; return 0; }
    26012790EOF
    2602 if { (eval echo configure:2603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2791if { (eval echo configure:2792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26032792  rm -rf conftest*
    26042793  ac_cv_func_alloca_works=yes
     
    26322821
    26332822echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2634 echo "configure:2635: checking whether alloca needs Cray hooks" >&5
     2823echo "configure:2824: checking whether alloca needs Cray hooks" >&5
    26352824if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    26362825  echo $ac_n "(cached) $ac_c" 1>&6
    26372826else
    26382827  cat > conftest.$ac_ext <<EOF
    2639 #line 2640 "configure"
     2828#line 2829 "configure"
    26402829#include "confdefs.h"
    26412830#if defined(CRAY) && ! defined(CRAY2)
     
    26622851for ac_func in _getb67 GETB67 getb67; do
    26632852  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2664 echo "configure:2665: checking for $ac_func" >&5
     2853echo "configure:2854: checking for $ac_func" >&5
    26652854if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    26662855  echo $ac_n "(cached) $ac_c" 1>&6
    26672856else
    26682857  cat > conftest.$ac_ext <<EOF
    2669 #line 2670 "configure"
     2858#line 2859 "configure"
    26702859#include "confdefs.h"
    26712860/* System header to define __stub macros and hopefully few prototypes,
     
    26902879; return 0; }
    26912880EOF
    2692 if { (eval echo configure:2693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2881if { (eval echo configure:2882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26932882  rm -rf conftest*
    26942883  eval "ac_cv_func_$ac_func=yes"
     
    27172906
    27182907echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2719 echo "configure:2720: checking stack direction for C alloca" >&5
     2908echo "configure:2909: checking stack direction for C alloca" >&5
    27202909if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    27212910  echo $ac_n "(cached) $ac_c" 1>&6
     
    27252914else
    27262915  cat > conftest.$ac_ext <<EOF
    2727 #line 2728 "configure"
     2916#line 2917 "configure"
    27282917#include "confdefs.h"
    27292918find_stack_direction ()
     
    27442933}
    27452934EOF
    2746 if { (eval echo configure:2747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2935if { (eval echo configure:2936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    27472936then
    27482937  ac_cv_c_stack_direction=1
     
    27672956if test $ac_cv_prog_gcc = yes; then
    27682957    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2769 echo "configure:2770: checking whether ${CC-cc} needs -traditional" >&5
     2958echo "configure:2959: checking whether ${CC-cc} needs -traditional" >&5
    27702959if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    27712960  echo $ac_n "(cached) $ac_c" 1>&6
     
    27732962    ac_pattern="Autoconf.*'x'"
    27742963  cat > conftest.$ac_ext <<EOF
    2775 #line 2776 "configure"
     2964#line 2965 "configure"
    27762965#include "confdefs.h"
    27772966#include <sgtty.h>
     
    27912980  if test $ac_cv_prog_gcc_traditional = no; then
    27922981    cat > conftest.$ac_ext <<EOF
    2793 #line 2794 "configure"
     2982#line 2983 "configure"
    27942983#include "confdefs.h"
    27952984#include <termio.h>
     
    28163005ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    28173006echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2818 echo "configure:2819: checking for $ac_hdr" >&5
     3007echo "configure:3008: checking for $ac_hdr" >&5
    28193008if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    28203009  echo $ac_n "(cached) $ac_c" 1>&6
    28213010else
    28223011  cat > conftest.$ac_ext <<EOF
    2823 #line 2824 "configure"
     3012#line 3013 "configure"
    28243013#include "confdefs.h"
    28253014#include <$ac_hdr>
    28263015EOF
    28273016ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2828 { (eval echo configure:2829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3017{ (eval echo configure:3018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    28293018ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    28303019if test -z "$ac_err"; then
     
    28553044do
    28563045echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2857 echo "configure:2858: checking for $ac_func" >&5
     3046echo "configure:3047: checking for $ac_func" >&5
    28583047if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    28593048  echo $ac_n "(cached) $ac_c" 1>&6
    28603049else
    28613050  cat > conftest.$ac_ext <<EOF
    2862 #line 2863 "configure"
     3051#line 3052 "configure"
    28633052#include "confdefs.h"
    28643053/* System header to define __stub macros and hopefully few prototypes,
     
    28833072; return 0; }
    28843073EOF
    2885 if { (eval echo configure:2886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3074if { (eval echo configure:3075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28863075  rm -rf conftest*
    28873076  eval "ac_cv_func_$ac_func=yes"
     
    29083097
    29093098echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2910 echo "configure:2911: checking for working mmap" >&5
     3099echo "configure:3100: checking for working mmap" >&5
    29113100if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    29123101  echo $ac_n "(cached) $ac_c" 1>&6
     
    29163105else
    29173106  cat > conftest.$ac_ext <<EOF
    2918 #line 2919 "configure"
     3107#line 3108 "configure"
    29193108#include "confdefs.h"
    29203109
     
    30563245
    30573246EOF
    3058 if { (eval echo configure:3059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3247if { (eval echo configure:3248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30593248then
    30603249  ac_cv_func_mmap_fixed_mapped=yes
     
    30793268
    30803269echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    3081 echo "configure:3082: checking return type of signal handlers" >&5
     3270echo "configure:3271: checking return type of signal handlers" >&5
    30823271if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    30833272  echo $ac_n "(cached) $ac_c" 1>&6
    30843273else
    30853274  cat > conftest.$ac_ext <<EOF
    3086 #line 3087 "configure"
     3275#line 3276 "configure"
    30873276#include "confdefs.h"
    30883277#include <sys/types.h>
     
    31013290; return 0; }
    31023291EOF
    3103 if { (eval echo configure:3104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3292if { (eval echo configure:3293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31043293  rm -rf conftest*
    31053294  ac_cv_type_signal=void
     
    31203309
    31213310echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    3122 echo "configure:3123: checking for vprintf" >&5
     3311echo "configure:3312: checking for vprintf" >&5
    31233312if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    31243313  echo $ac_n "(cached) $ac_c" 1>&6
    31253314else
    31263315  cat > conftest.$ac_ext <<EOF
    3127 #line 3128 "configure"
     3316#line 3317 "configure"
    31283317#include "confdefs.h"
    31293318/* System header to define __stub macros and hopefully few prototypes,
     
    31483337; return 0; }
    31493338EOF
    3150 if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3339if { (eval echo configure:3340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    31513340  rm -rf conftest*
    31523341  eval "ac_cv_func_vprintf=yes"
     
    31723361if test "$ac_cv_func_vprintf" != yes; then
    31733362echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    3174 echo "configure:3175: checking for _doprnt" >&5
     3363echo "configure:3364: checking for _doprnt" >&5
    31753364if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    31763365  echo $ac_n "(cached) $ac_c" 1>&6
    31773366else
    31783367  cat > conftest.$ac_ext <<EOF
    3179 #line 3180 "configure"
     3368#line 3369 "configure"
    31803369#include "confdefs.h"
    31813370/* System header to define __stub macros and hopefully few prototypes,
     
    32003389; return 0; }
    32013390EOF
    3202 if { (eval echo configure:3203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3391if { (eval echo configure:3392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32033392  rm -rf conftest*
    32043393  eval "ac_cv_func__doprnt=yes"
     
    32263415
    32273416echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6
    3228 echo "configure:3229: checking for library containing setenv" >&5
     3417echo "configure:3418: checking for library containing setenv" >&5
    32293418if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then
    32303419  echo $ac_n "(cached) $ac_c" 1>&6
     
    32333422ac_cv_search_setenv="no"
    32343423cat > conftest.$ac_ext <<EOF
    3235 #line 3236 "configure"
     3424#line 3425 "configure"
    32363425#include "confdefs.h"
    32373426/* Override any gcc2 internal prototype to avoid an error.  */
     
    32443433; return 0; }
    32453434EOF
    3246 if { (eval echo configure:3247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3435if { (eval echo configure:3436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32473436  rm -rf conftest*
    32483437  ac_cv_search_setenv="none required"
     
    32553444LIBS="-l$i  $ac_func_search_save_LIBS"
    32563445cat > conftest.$ac_ext <<EOF
    3257 #line 3258 "configure"
     3446#line 3447 "configure"
    32583447#include "confdefs.h"
    32593448/* Override any gcc2 internal prototype to avoid an error.  */
     
    32663455; return 0; }
    32673456EOF
    3268 if { (eval echo configure:3269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3457if { (eval echo configure:3458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32693458  rm -rf conftest*
    32703459  ac_cv_search_setenv="-l$i"
     
    32903479do
    32913480echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3292 echo "configure:3293: checking for $ac_func" >&5
     3481echo "configure:3482: checking for $ac_func" >&5
    32933482if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    32943483  echo $ac_n "(cached) $ac_c" 1>&6
    32953484else
    32963485  cat > conftest.$ac_ext <<EOF
    3297 #line 3298 "configure"
     3486#line 3487 "configure"
    32983487#include "confdefs.h"
    32993488/* System header to define __stub macros and hopefully few prototypes,
     
    33183507; return 0; }
    33193508EOF
    3320 if { (eval echo configure:3321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3509if { (eval echo configure:3510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    33213510  rm -rf conftest*
    33223511  eval "ac_cv_func_$ac_func=yes"
     
    33473536# arithmetic shifts
    33483537echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    3349 echo "configure:3350: checking whether your machine has correct arithmetic shifts" >&5
     3538echo "configure:3539: checking whether your machine has correct arithmetic shifts" >&5
    33503539if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    33513540  echo $ac_n "(cached) $ac_c" 1>&6
     
    33603549else
    33613550  cat > conftest.$ac_ext <<EOF
    3362 #line 3363 "configure"
     3551#line 3552 "configure"
    33633552#include "confdefs.h"
    33643553 int main() { if (-2 >> 1 == -1) return(0); else return(1); }
    33653554EOF
    3366 if { (eval echo configure:3367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3555if { (eval echo configure:3556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33673556then
    33683557  ac_cv_shift=yes
     
    33893578# check for a peculiar constructor initialization
    33903579echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    3391 echo "configure:3392: checking whether explicit C++ constructor calls are allowed" >&5
     3580echo "configure:3581: checking whether explicit C++ constructor calls are allowed" >&5
    33923581
    33933582ac_ext=C
     
    34023591else
    34033592  cat > conftest.$ac_ext <<EOF
    3404 #line 3405 "configure"
     3593#line 3594 "configure"
    34053594#include "confdefs.h"
    34063595
     
    34203609; return 0; }
    34213610EOF
    3422 if { (eval echo configure:3423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3611if { (eval echo configure:3612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34233612  rm -rf conftest*
    34243613  ac_cv_explicit_const=yes
     
    34493638# sprintf returns number of printed chars
    34503639echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3451 echo "configure:3452: checking whether vsprintf returns number of printed chars" >&5
     3640echo "configure:3641: checking whether vsprintf returns number of printed chars" >&5
    34523641if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    34533642  echo $ac_n "(cached) $ac_c" 1>&6
     
    34573646else
    34583647  cat > conftest.$ac_ext <<EOF
    3459 #line 3460 "configure"
     3648#line 3649 "configure"
    34603649#include "confdefs.h"
    34613650#include <stdio.h>
    34623651 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    34633652EOF
    3464 if { (eval echo configure:3465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3653if { (eval echo configure:3654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34653654then
    34663655  ac_cv_returns_n_of_chars=yes
     
    34883677# determine ALIGN_8
    34893678echo $ac_n "checking size of char""... $ac_c" 1>&6
    3490 echo "configure:3491: checking size of char" >&5
     3679echo "configure:3680: checking size of char" >&5
    34913680if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    34923681  echo $ac_n "(cached) $ac_c" 1>&6
     
    34963685else
    34973686  cat > conftest.$ac_ext <<EOF
    3498 #line 3499 "configure"
     3687#line 3688 "configure"
    34993688#include "confdefs.h"
    35003689#include <stdio.h>
     
    35073696}
    35083697EOF
    3509 if { (eval echo configure:3510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3698if { (eval echo configure:3699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35103699then
    35113700  ac_cv_sizeof_char=`cat conftestval`
     
    35273716
    35283717echo $ac_n "checking size of short""... $ac_c" 1>&6
    3529 echo "configure:3530: checking size of short" >&5
     3718echo "configure:3719: checking size of short" >&5
    35303719if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    35313720  echo $ac_n "(cached) $ac_c" 1>&6
     
    35353724else
    35363725  cat > conftest.$ac_ext <<EOF
    3537 #line 3538 "configure"
     3726#line 3727 "configure"
    35383727#include "confdefs.h"
    35393728#include <stdio.h>
     
    35463735}
    35473736EOF
    3548 if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3737if { (eval echo configure:3738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35493738then
    35503739  ac_cv_sizeof_short=`cat conftestval`
     
    35663755
    35673756echo $ac_n "checking size of int""... $ac_c" 1>&6
    3568 echo "configure:3569: checking size of int" >&5
     3757echo "configure:3758: checking size of int" >&5
    35693758if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    35703759  echo $ac_n "(cached) $ac_c" 1>&6
     
    35743763else
    35753764  cat > conftest.$ac_ext <<EOF
    3576 #line 3577 "configure"
     3765#line 3766 "configure"
    35773766#include "confdefs.h"
    35783767#include <stdio.h>
     
    35853774}
    35863775EOF
    3587 if { (eval echo configure:3588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3776if { (eval echo configure:3777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    35883777then
    35893778  ac_cv_sizeof_int=`cat conftestval`
     
    36053794
    36063795echo $ac_n "checking size of long""... $ac_c" 1>&6
    3607 echo "configure:3608: checking size of long" >&5
     3796echo "configure:3797: checking size of long" >&5
    36083797if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    36093798  echo $ac_n "(cached) $ac_c" 1>&6
     
    36133802else
    36143803  cat > conftest.$ac_ext <<EOF
    3615 #line 3616 "configure"
     3804#line 3805 "configure"
    36163805#include "confdefs.h"
    36173806#include <stdio.h>
     
    36243813}
    36253814EOF
    3626 if { (eval echo configure:3627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3815if { (eval echo configure:3816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    36273816then
    36283817  ac_cv_sizeof_long=`cat conftestval`
     
    36443833
    36453834echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3646 echo "configure:3647: checking size of void*" >&5
     3835echo "configure:3836: checking size of void*" >&5
    36473836if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    36483837  echo $ac_n "(cached) $ac_c" 1>&6
     
    36523841else
    36533842  cat > conftest.$ac_ext <<EOF
    3654 #line 3655 "configure"
     3843#line 3844 "configure"
    36553844#include "confdefs.h"
    36563845#include <stdio.h>
     
    36633852}
    36643853EOF
    3665 if { (eval echo configure:3666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3854if { (eval echo configure:3855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    36663855then
    36673856  ac_cv_sizeof_voidp=`cat conftestval`
     
    36833872
    36843873echo $ac_n "checking size of double""... $ac_c" 1>&6
    3685 echo "configure:3686: checking size of double" >&5
     3874echo "configure:3875: checking size of double" >&5
    36863875if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    36873876  echo $ac_n "(cached) $ac_c" 1>&6
     
    36913880else
    36923881  cat > conftest.$ac_ext <<EOF
    3693 #line 3694 "configure"
     3882#line 3883 "configure"
    36943883#include "confdefs.h"
    36953884#include <stdio.h>
     
    37023891}
    37033892EOF
    3704 if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3893if { (eval echo configure:3894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37053894then
    37063895  ac_cv_sizeof_double=`cat conftestval`
     
    37223911
    37233912echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3724 echo "configure:3725: checking whether byte ordering is bigendian" >&5
     3913echo "configure:3914: checking whether byte ordering is bigendian" >&5
    37253914if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    37263915  echo $ac_n "(cached) $ac_c" 1>&6
     
    37293918# See if sys/param.h defines the BYTE_ORDER macro.
    37303919cat > conftest.$ac_ext <<EOF
    3731 #line 3732 "configure"
     3920#line 3921 "configure"
    37323921#include "confdefs.h"
    37333922#include <sys/types.h>
     
    37403929; return 0; }
    37413930EOF
    3742 if { (eval echo configure:3743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3931if { (eval echo configure:3932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    37433932  rm -rf conftest*
    37443933  # It does; now see whether it defined to BIG_ENDIAN or not.
    37453934cat > conftest.$ac_ext <<EOF
    3746 #line 3747 "configure"
     3935#line 3936 "configure"
    37473936#include "confdefs.h"
    37483937#include <sys/types.h>
     
    37553944; return 0; }
    37563945EOF
    3757 if { (eval echo configure:3758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3946if { (eval echo configure:3947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    37583947  rm -rf conftest*
    37593948  ac_cv_c_bigendian=yes
     
    37753964else
    37763965  cat > conftest.$ac_ext <<EOF
    3777 #line 3778 "configure"
     3966#line 3967 "configure"
    37783967#include "confdefs.h"
    37793968main () {
     
    37883977}
    37893978EOF
    3790 if { (eval echo configure:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3979if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37913980then
    37923981  ac_cv_c_bigendian=no
     
    39184107
    39194108echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
    3920 echo "configure:3921: checking whether to use dynamic linking" >&5
     4109echo "configure:4110: checking whether to use dynamic linking" >&5
    39214110if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    39224111  cat >> confdefs.h <<\EOF
     
    39314120
    39324121echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3933 echo "configure:3934: checking for tgetent in -lncurses" >&5
     4122echo "configure:4123: checking for tgetent in -lncurses" >&5
    39344123ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    39354124if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    39394128LIBS="-lncurses  $LIBS"
    39404129cat > conftest.$ac_ext <<EOF
    3941 #line 3942 "configure"
     4130#line 4131 "configure"
    39424131#include "confdefs.h"
    39434132/* Override any gcc2 internal prototype to avoid an error.  */
     
    39504139; return 0; }
    39514140EOF
    3952 if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4141if { (eval echo configure:4142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39534142  rm -rf conftest*
    39544143  eval "ac_cv_lib_$ac_lib_var=yes"
     
    39774166\
    39784167 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3979 echo "configure:3980: checking for tgetent in -lcurses" >&5
     4168echo "configure:4169: checking for tgetent in -lcurses" >&5
    39804169ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    39814170if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    39854174LIBS="-lcurses  $LIBS"
    39864175cat > conftest.$ac_ext <<EOF
    3987 #line 3988 "configure"
     4176#line 4177 "configure"
    39884177#include "confdefs.h"
    39894178/* Override any gcc2 internal prototype to avoid an error.  */
     
    39964185; return 0; }
    39974186EOF
    3998 if { (eval echo configure:3999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4187if { (eval echo configure:4188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39994188  rm -rf conftest*
    40004189  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40234212\
    40244213  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    4025 echo "configure:4026: checking for tgetent in -ltermcap" >&5
     4214echo "configure:4215: checking for tgetent in -ltermcap" >&5
    40264215ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    40274216if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40314220LIBS="-ltermcap  $LIBS"
    40324221cat > conftest.$ac_ext <<EOF
    4033 #line 4034 "configure"
     4222#line 4223 "configure"
    40344223#include "confdefs.h"
    40354224/* Override any gcc2 internal prototype to avoid an error.  */
     
    40424231; return 0; }
    40434232EOF
    4044 if { (eval echo configure:4045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4233if { (eval echo configure:4234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40454234  rm -rf conftest*
    40464235  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40914280
    40924281   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    4093 echo "configure:4094: checking for rl_abort in -lreadline" >&5
     4282echo "configure:4283: checking for rl_abort in -lreadline" >&5
    40944283ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    40954284if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40994288LIBS="-lreadline  $LIBS"
    41004289cat > conftest.$ac_ext <<EOF
    4101 #line 4102 "configure"
     4290#line 4291 "configure"
    41024291#include "confdefs.h"
    41034292/* Override any gcc2 internal prototype to avoid an error.  */
     
    41134302; return 0; }
    41144303EOF
    4115 if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4304if { (eval echo configure:4305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41164305  rm -rf conftest*
    41174306  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41414330
    41424331   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    4143 echo "configure:4144: checking how to run the C++ preprocessor" >&5
     4332echo "configure:4333: checking how to run the C++ preprocessor" >&5
    41444333if test -z "$CXXCPP"; then
    41454334if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    41544343  CXXCPP="${CXX-g++} -E"
    41554344  cat > conftest.$ac_ext <<EOF
    4156 #line 4157 "configure"
     4345#line 4346 "configure"
    41574346#include "confdefs.h"
    41584347#include <stdlib.h>
    41594348EOF
    41604349ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4161 { (eval echo configure:4162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4350{ (eval echo configure:4351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    41624351ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    41634352if test -z "$ac_err"; then
     
    41874376ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    41884377echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4189 echo "configure:4190: checking for $ac_hdr" >&5
     4378echo "configure:4379: checking for $ac_hdr" >&5
    41904379if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    41914380  echo $ac_n "(cached) $ac_c" 1>&6
    41924381else
    41934382  cat > conftest.$ac_ext <<EOF
    4194 #line 4195 "configure"
     4383#line 4384 "configure"
    41954384#include "confdefs.h"
    41964385#include <$ac_hdr>
    41974386EOF
    41984387ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4199 { (eval echo configure:4200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4388{ (eval echo configure:4389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    42004389ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    42014390if test -z "$ac_err"; then
     
    42264415      test "$ac_cv_header_readline_readline_h" = yes; then
    42274416     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    4228 echo "configure:4229: checking whether readline.h is ok" >&5
     4417echo "configure:4418: checking whether readline.h is ok" >&5
    42294418     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    42304419  echo $ac_n "(cached) $ac_c" 1>&6
    42314420else
    42324421  cat > conftest.$ac_ext <<EOF
    4233 #line 4234 "configure"
     4422#line 4423 "configure"
    42344423#include "confdefs.h"
    42354424#include<unistd.h>
     
    42444433; return 0; }
    42454434EOF
    4246 if { (eval echo configure:4247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4435if { (eval echo configure:4436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42474436  rm -rf conftest*
    42484437  ac_cv_header_readline_readline_h_ok="yes"
     
    42604449#not ok -- try once more with explicitly declaring everything
    42614450      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    4262 echo "configure:4263: checking whether or not we nevertheless can use readline" >&5
     4451echo "configure:4452: checking whether or not we nevertheless can use readline" >&5
    42634452      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    42644453  echo $ac_n "(cached) $ac_c" 1>&6
    42654454else
    42664455  cat > conftest.$ac_ext <<EOF
    4267 #line 4268 "configure"
     4456#line 4457 "configure"
    42684457#include "confdefs.h"
    42694458#include <stdio.h>
     
    42994488; return 0; }
    43004489EOF
    4301 if { (eval echo configure:4302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4490if { (eval echo configure:4491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43024491  rm -rf conftest*
    43034492  ac_cv_have_readline="yes"
     
    43384527
    43394528echo $ac_n "checking which readline to use""... $ac_c" 1>&6
    4340 echo "configure:4341: checking which readline to use" >&5
     4529echo "configure:4530: checking which readline to use" >&5
    43414530if test "$ac_cv_with_readline" = dynamic; then
    43424531  echo "$ac_t""dynamic" 1>&6
     
    43584547# gmp, MP, MPT, factory, libfac
    43594548echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4360 echo "configure:4361: checking for main in -lgmp" >&5
     4549echo "configure:4550: checking for main in -lgmp" >&5
    43614550ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    43624551if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43664555LIBS="-lgmp  $LIBS"
    43674556cat > conftest.$ac_ext <<EOF
    4368 #line 4369 "configure"
     4557#line 4558 "configure"
    43694558#include "confdefs.h"
    43704559
     
    43734562; return 0; }
    43744563EOF
    4375 if { (eval echo configure:4376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4564if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43764565  rm -rf conftest*
    43774566  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44024591SAVE_LIBS=$LIBS
    44034592echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4404 echo "configure:4405: checking for IMP_PutGmpInt in -lMP" >&5
     4593echo "configure:4594: checking for IMP_PutGmpInt in -lMP" >&5
    44054594ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    44064595if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44104599LIBS="-lMP $MP_LIBS $LIBS"
    44114600cat > conftest.$ac_ext <<EOF
    4412 #line 4413 "configure"
     4601#line 4602 "configure"
    44134602#include "confdefs.h"
    44144603/* Override any gcc2 internal prototype to avoid an error.  */
     
    44214610; return 0; }
    44224611EOF
    4423 if { (eval echo configure:4424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4612if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44244613  rm -rf conftest*
    44254614  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44494638
    44504639echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4451 echo "configure:4452: checking for MPT_GetTree in -lMPT" >&5
     4640echo "configure:4641: checking for MPT_GetTree in -lMPT" >&5
    44524641ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    44534642if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44574646LIBS="-lMPT $MP_LIBS $LIBS"
    44584647cat > conftest.$ac_ext <<EOF
    4459 #line 4460 "configure"
     4648#line 4649 "configure"
    44604649#include "confdefs.h"
    44614650/* Override any gcc2 internal prototype to avoid an error.  */
     
    44684657; return 0; }
    44694658EOF
    4470 if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4659if { (eval echo configure:4660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44714660  rm -rf conftest*
    44724661  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44974686LIBS=$SAVE_LIBS
    44984687echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4499 echo "configure:4500: checking for atof in -lsingcf" >&5
     4688echo "configure:4689: checking for atof in -lsingcf" >&5
    45004689ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    45014690if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    45054694LIBS="-lsingcf  $LIBS"
    45064695cat > conftest.$ac_ext <<EOF
    4507 #line 4508 "configure"
     4696#line 4697 "configure"
    45084697#include "confdefs.h"
    45094698/* Override any gcc2 internal prototype to avoid an error.  */
     
    45164705; return 0; }
    45174706EOF
    4518 if { (eval echo configure:4519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4707if { (eval echo configure:4708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45194708  rm -rf conftest*
    45204709  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45444733
    45454734echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4546 echo "configure:4547: checking for atof in -lsingfac" >&5
     4735echo "configure:4736: checking for atof in -lsingfac" >&5
    45474736ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    45484737if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    45524741LIBS="-lsingfac  $LIBS"
    45534742cat > conftest.$ac_ext <<EOF
    4554 #line 4555 "configure"
     4743#line 4744 "configure"
    45554744#include "confdefs.h"
    45564745/* Override any gcc2 internal prototype to avoid an error.  */
     
    45634752; return 0; }
    45644753EOF
    4565 if { (eval echo configure:4566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4754if { (eval echo configure:4755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45664755  rm -rf conftest*
    45674756  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45914780
    45924781echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4593 echo "configure:4594: checking for omTestAddr in -lomalloc" >&5
     4782echo "configure:4783: checking for omTestAddr in -lomalloc" >&5
    45944783ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    45954784if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    45994788LIBS="-lomalloc  $LIBS"
    46004789cat > conftest.$ac_ext <<EOF
    4601 #line 4602 "configure"
     4790#line 4791 "configure"
    46024791#include "confdefs.h"
    46034792/* Override any gcc2 internal prototype to avoid an error.  */
     
    46104799; return 0; }
    46114800EOF
    4612 if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4801if { (eval echo configure:4802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46134802  rm -rf conftest*
    46144803  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46384827
    46394828echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4640 echo "configure:4641: checking for main in -lomalloc_ndebug" >&5
     4829echo "configure:4830: checking for main in -lomalloc_ndebug" >&5
    46414830ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    46424831if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46464835LIBS="-lomalloc_ndebug  $LIBS"
    46474836cat > conftest.$ac_ext <<EOF
    4648 #line 4649 "configure"
     4837#line 4838 "configure"
    46494838#include "confdefs.h"
    46504839
     
    46534842; return 0; }
    46544843EOF
    4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4844if { (eval echo configure:4845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46564845  rm -rf conftest*
    46574846  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46814870
    46824871echo $ac_n "checking for main in -lntl""... $ac_c" 1>&6
    4683 echo "configure:4684: checking for main in -lntl" >&5
     4872echo "configure:4873: checking for main in -lntl" >&5
    46844873ac_lib_var=`echo ntl'_'main | sed 'y%./+-%__p_%'`
    46854874if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46894878LIBS="-lntl  $LIBS"
    46904879cat > conftest.$ac_ext <<EOF
    4691 #line 4692 "configure"
     4880#line 4881 "configure"
    46924881#include "confdefs.h"
    46934882
     
    46964885; return 0; }
    46974886EOF
    4698 if { (eval echo configure:4699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4887if { (eval echo configure:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46994888  rm -rf conftest*
    47004889  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47294918ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    47304919echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4731 echo "configure:4732: checking for $ac_hdr" >&5
     4920echo "configure:4921: checking for $ac_hdr" >&5
    47324921if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    47334922  echo $ac_n "(cached) $ac_c" 1>&6
    47344923else
    47354924  cat > conftest.$ac_ext <<EOF
    4736 #line 4737 "configure"
     4925#line 4926 "configure"
    47374926#include "confdefs.h"
    47384927#include <$ac_hdr>
    47394928EOF
    47404929ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4741 { (eval echo configure:4742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4930{ (eval echo configure:4931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    47424931ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    47434932if test -z "$ac_err"; then
     
    47784967ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    47794968echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4780 echo "configure:4781: checking for $ac_hdr" >&5
     4969echo "configure:4970: checking for $ac_hdr" >&5
    47814970if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    47824971  echo $ac_n "(cached) $ac_c" 1>&6
    47834972else
    47844973  cat > conftest.$ac_ext <<EOF
    4785 #line 4786 "configure"
     4974#line 4975 "configure"
    47864975#include "confdefs.h"
    47874976#include <$ac_hdr>
    47884977EOF
    47894978ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4790 { (eval echo configure:4791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4979{ (eval echo configure:4980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    47914980ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    47924981if test -z "$ac_err"; then
     
    48615050
    48625051echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4863 echo "configure:4864: checking which apint package to use" >&5
     5052echo "configure:5053: checking which apint package to use" >&5
    48645053if test "${with_apint}" != gmp; then
    48655054  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    48845073#
    48855074echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4886 echo "configure:4887: checking whether to have MP" >&5
     5075echo "configure:5076: checking whether to have MP" >&5
    48875076if test "${with_MP}" != yes && test "${with_MP}" != no; then
    48885077  if (test "${will_have_gmp}" = yes) && \
     
    49195108
    49205109echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6
    4921 echo "configure:4922: checking whether to have NTL" >&5
     5110echo "configure:5111: checking whether to have NTL" >&5
    49225111if test "${with_NTL}" = yes ; then
    49235112  echo "$ac_t""yes" 1>&6
     
    49285117
    49295118echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4930 echo "configure:4931: checking whether to have factory" >&5
     5119echo "configure:5120: checking whether to have factory" >&5
    49315120if test "${with_factory}" != yes && test "${with_factory}" != no; then
    49325121  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    49595148
    49605149echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4961 echo "configure:4962: checking whether to have libfac" >&5
     5150echo "configure:5151: checking whether to have libfac" >&5
    49625151if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    49635152  if (test "${will_have_factory}" = yes) && \
     
    50015190
    50025191echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    5003 echo "configure:5004: checking whether to have dbm links" >&5
     5192echo "configure:5193: checking whether to have dbm links" >&5
    50045193if test "$with_dbm" != no; then
    50055194  cat >> confdefs.h <<\EOF
     
    50135202
    50145203echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    5015 echo "configure:5016: checking whether to have namespaces" >&5
     5204echo "configure:5205: checking whether to have namespaces" >&5
    50165205if test "$with_namespaces" != no; then
    50175206  echo "$ac_t""yes" 1>&6
     
    50255214
    50265215echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    5027 echo "configure:5028: checking whether to have dynamic modules" >&5
     5216echo "configure:5217: checking whether to have dynamic modules" >&5
    50285217if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    50295218  echo "$ac_t""no" 1>&6
     
    50375226
    50385227echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    5039 echo "configure:5040: checking whether to have dynamic kernel" >&5
     5228echo "configure:5229: checking whether to have dynamic kernel" >&5
    50405229if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    50415230  DL_KERNEL=1
     
    50475236
    50485237echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    5049 echo "configure:5050: checking whether to have Plural" >&5
     5238echo "configure:5239: checking whether to have Plural" >&5
    50505239if test "$with_Plural" != yes && test "$enable_Plural" != yes; then
    50515240  echo "$ac_t""no" 1>&6
  • Singular/configure.in

    r1d0eb7 r20ac44  
    312312AC_CHECK_LIB(m, atof)
    313313fi
     314AC_CHECK_LIB(nsl)
     315AC_CHECK_LIB(socket)
    314316SAVE_LIBS=${LIBS}
    315317LIBS=
     
    317319dnl I'm not sure what they are for
    318320AC_CHECK_LIB(bsd, setenv)
    319 dnl AC_CHECK_LIB(socket, listen)
    320 dnl AC_CHECK_LIB(nsl, gethostbyname)
     321dnl i386-SunOS needs nsl and socket
     322AC_CHECK_LIB(socket, listen)
     323AC_CHECK_LIB(nsl, gethostbyname)
    321324dnl AC_CHECK_LIB(ucb, index)
    322 dnl MP_LIBS=${LIBS}
     325MP_LIBS=${LIBS}
    323326# check for dl lib
    324327case "$ac_cv_singuname" in
Note: See TracChangeset for help on using the changeset viewer.