Changeset 1dc616 in git for factory/configure


Ignore:
Timestamp:
May 15, 2006, 10:17:57 AM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
181148eb58afcf5d585ec06f89fbab21c1ab9c99
Parents:
e5102ce459d04b385f3c94f631b05329d7681e20
Message:
*hannes: test for iostream and iostream.h


git-svn-id: file:///usr/local/Singular/svn/trunk@9134 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/configure

    re5102c r1dc616  
    18831883
    18841884if test "x$enable_streamio" != xno; then
    1885   for ac_hdr in iostream.h strstream.h fstream.h
     1885  for ac_hdr in iostream.h strstream.h fstream.h iostream string fstream
    18861886do
    18871887ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     
    19201920else
    19211921  echo "$ac_t""no" 1>&6
    1922 echo "configure: warning: C++ header files not found" 1>&2
    19231922fi
    19241923done
     
    19281927ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19291928echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1930 echo "configure:1931: checking for $ac_hdr" >&5
     1929echo "configure:1930: checking for $ac_hdr" >&5
    19311930if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19321931  echo $ac_n "(cached) $ac_c" 1>&6
    19331932else
    19341933  cat > conftest.$ac_ext <<EOF
    1935 #line 1936 "configure"
     1934#line 1935 "configure"
    19361935#include "confdefs.h"
    19371936#include <$ac_hdr>
    19381937EOF
    19391938ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1940 { (eval echo configure:1941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1939{ (eval echo configure:1940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19411940ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19421941if test -z "$ac_err"; then
     
    19721971ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19731972echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1974 echo "configure:1975: checking for $ac_hdr" >&5
     1973echo "configure:1974: checking for $ac_hdr" >&5
    19751974if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19761975  echo $ac_n "(cached) $ac_c" 1>&6
    19771976else
    19781977  cat > conftest.$ac_ext <<EOF
    1979 #line 1980 "configure"
     1978#line 1979 "configure"
    19801979#include "confdefs.h"
    19811980#include <$ac_hdr>
    19821981EOF
    19831982ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1984 { (eval echo configure:1985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1983{ (eval echo configure:1984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19851984ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19861985if test -z "$ac_err"; then
     
    20182017ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20192018echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2020 echo "configure:2021: checking for $ac_hdr" >&5
     2019echo "configure:2020: checking for $ac_hdr" >&5
    20212020if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20222021  echo $ac_n "(cached) $ac_c" 1>&6
    20232022else
    20242023  cat > conftest.$ac_ext <<EOF
    2025 #line 2026 "configure"
     2024#line 2025 "configure"
    20262025#include "confdefs.h"
    20272026#include <$ac_hdr>
    20282027EOF
    20292028ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2030 { (eval echo configure:2031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2029{ (eval echo configure:2030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20312030ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20322031if test -z "$ac_err"; then
     
    20622061ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    20632062echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2064 echo "configure:2065: checking for $ac_hdr" >&5
     2063echo "configure:2064: checking for $ac_hdr" >&5
    20652064if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20662065  echo $ac_n "(cached) $ac_c" 1>&6
    20672066else
    20682067  cat > conftest.$ac_ext <<EOF
    2069 #line 2070 "configure"
     2068#line 2069 "configure"
    20702069#include "confdefs.h"
    20712070#include <$ac_hdr>
    20722071EOF
    20732072ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2074 { (eval echo configure:2075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2073{ (eval echo configure:2074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20752074ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    20762075if test -z "$ac_err"; then
     
    21292128# arithmetic shift
    21302129echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6
    2131 echo "configure:2132: checking whether your compiler does arithmetic shifts" >&5
     2130echo "configure:2131: checking whether your compiler does arithmetic shifts" >&5
    21322131if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    21332132  echo $ac_n "(cached) $ac_c" 1>&6
     
    21382137else
    21392138  cat > conftest.$ac_ext <<EOF
    2140 #line 2141 "configure"
     2139#line 2140 "configure"
    21412140#include "confdefs.h"
    21422141 int main() { if (-2 >> 1 == -1) return(0); else return(1); }
    21432142EOF
    2144 if { (eval echo configure:2145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2143if { (eval echo configure:2144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    21452144then
    21462145  ac_cv_shift=yes
     
    22242223# check whether CXX accepts -fno-rtti
    22252224echo $ac_n "checking whether gcc accepts -fno-rtti""... $ac_c" 1>&6
    2226 echo "configure:2227: checking whether gcc accepts -fno-rtti" >&5
     2225echo "configure:2226: checking whether gcc accepts -fno-rtti" >&5
    22272226tmp_flags=${CXXFLAGS}
    22282227CXXFLAGS="${CXXFLAGS} -fno-rtti"
     
    22312230else
    22322231  cat > conftest.$ac_ext <<EOF
    2233 #line 2234 "configure"
     2232#line 2233 "configure"
    22342233#include "confdefs.h"
    22352234
     
    22382237; return 0; }
    22392238EOF
    2240 if { (eval echo configure:2241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2239if { (eval echo configure:2240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22412240  rm -rf conftest*
    22422241  ac_cv_cxx_have_rtti=yes
     
    22582257
    22592258echo $ac_n "checking whether gcc accepts -fno-exceptions""... $ac_c" 1>&6
    2260 echo "configure:2261: checking whether gcc accepts -fno-exceptions" >&5
     2259echo "configure:2260: checking whether gcc accepts -fno-exceptions" >&5
    22612260tmp_flags=${CXXFLAGS}
    22622261CXXFLAGS="${CXXFLAGS} -fno-exceptions"
     
    22652264else
    22662265  cat > conftest.$ac_ext <<EOF
    2267 #line 2268 "configure"
     2266#line 2267 "configure"
    22682267#include "confdefs.h"
    22692268
     
    22722271; return 0; }
    22732272EOF
    2274 if { (eval echo configure:2275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2273if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22752274  rm -rf conftest*
    22762275  ac_cv_cxx_have_exceptions=yes
     
    23402339
    23412340echo $ac_n "checking whether to use omalloc""... $ac_c" 1>&6
    2342 echo "configure:2343: checking whether to use omalloc" >&5
     2341echo "configure:2342: checking whether to use omalloc" >&5
    23432342
    23442343if test "$with_omalloc" = yes; then
Note: See TracChangeset for help on using the changeset viewer.