Changeset d695be in git
- Timestamp:
- May 23, 1997, 11:11:20 AM (26 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 5b6c3122b40fc4de7e64d746da3d95e818170166
- Parents:
- 30acf1687e42365e829aab1dac6dca1fe7e85058
- Location:
- libfac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libfac/configure
r30acf16 rd695be 579 579 LDFLAGS="-L. ${LDFLAGS}" 580 580 581 if test "$with_debug" = yes; then 582 CXXFLAGS="-g" 583 else 584 CXXFLAGS="-O" 585 cat >> confdefs.h <<\EOF 581 if test "${CXXFLAGS+set}" != set; then 582 if test "$with_debug" = yes; then 583 CXXFLAGS="-g" 584 else 585 CXXFLAGS="-O" 586 cat >> confdefs.h <<\EOF 586 587 #define NDEBUG 1 587 588 EOF 588 589 589 fi 590 fi 591 fi 592 590 593 591 594 ac_ext=C … … 638 641 #endif 639 642 EOF 640 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:64 1: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then643 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 641 644 ac_cv_prog_gxx=yes 642 645 else … … 687 690 CXXCPP="${CXX-g++} -E" 688 691 cat > conftest.$ac_ext <<EOF 689 #line 69 0"configure"692 #line 693 "configure" 690 693 #include "confdefs.h" 691 694 #include <stdlib.h> 692 695 EOF 693 696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 694 { (eval echo configure:69 5: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }697 { (eval echo configure:698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 695 698 ac_err=`grep -v '^ *+' conftest.out` 696 699 if test -z "$ac_err"; then … … 802 805 else 803 806 cat > conftest.$ac_ext <<EOF 804 #line 80 5"configure"807 #line 808 "configure" 805 808 #include "confdefs.h" 806 809 #include <$ac_hdr> 807 810 EOF 808 811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 809 { (eval echo configure:81 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }812 { (eval echo configure:813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 810 813 ac_err=`grep -v '^ *+' conftest.out` 811 814 if test -z "$ac_err"; then … … 847 850 else 848 851 cat > conftest.$ac_ext <<EOF 849 #line 85 0"configure"852 #line 853 "configure" 850 853 #include "confdefs.h" 851 854 … … 897 900 ; return 0; } 898 901 EOF 899 if { (eval echo configure:90 0: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then902 if { (eval echo configure:903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 900 903 rm -rf conftest* 901 904 ac_cv_c_const=yes … … 923 926 for ac_kw in inline __inline__ __inline; do 924 927 cat > conftest.$ac_ext <<EOF 925 #line 92 6"configure"928 #line 929 "configure" 926 929 #include "confdefs.h" 927 930 … … 931 934 ; return 0; } 932 935 EOF 933 if { (eval echo configure:93 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then936 if { (eval echo configure:937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 934 937 rm -rf conftest* 935 938 ac_cv_c_inline=$ac_kw; break … … 956 959 957 960 if test ${GXX} = yes; then 958 if test "$with_debug" = yes; then 959 CXXFLAGS="-O -g" 960 else 961 CXXFLAGS="-O3 " 961 if test "${CXXFLAGS+set}" != set; then 962 if test "$with_debug" = yes; then 963 CXXFLAGS="-O -g" 964 else 965 CXXFLAGS="-O3 " 966 fi 962 967 fi 963 968 CXXTEMPLFLAGS="-fno-implicit-templates" -
libfac/configure.in
r30acf16 rd695be 66 66 LDFLAGS="-L. ${LDFLAGS}" 67 67 68 if test "$with_debug" = yes; then 69 CXXFLAGS="-g" 70 else 71 CXXFLAGS="-O" 72 AC_DEFINE(NDEBUG) 68 if test "${CXXFLAGS+set}" != set; then 69 if test "$with_debug" = yes; then 70 CXXFLAGS="-g" 71 else 72 CXXFLAGS="-O" 73 AC_DEFINE(NDEBUG) 74 fi 73 75 fi 76 74 77 75 78 dnl … … 114 117 dnl 115 118 if test ${GXX} = yes; then 116 if test "$with_debug" = yes; then 117 CXXFLAGS="-O -g" 118 else 119 CXXFLAGS="-O3 " 119 if test "${CXXFLAGS+set}" != set; then 120 if test "$with_debug" = yes; then 121 CXXFLAGS="-O -g" 122 else 123 CXXFLAGS="-O3 " 124 fi 120 125 fi 121 126 CXXTEMPLFLAGS="-fno-implicit-templates"
Note: See TracChangeset
for help on using the changeset viewer.