[Compbench-devel] CompBenchmarks++ configure, 1.7, 1.8 configure.in, 1.7, 1.8
Brought to you by:
xfred
|
From: Frederic T. <xf...@us...> - 2006-09-25 15:40:51
|
Update of /cvsroot/compbench/CompBenchmarks++ In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv8881 Modified Files: configure configure.in Log Message: Fixes to prevent run-time warning in ./configure during system detection. Index: configure =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/configure,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** configure 24 Sep 2006 16:27:41 -0000 1.7 --- configure 25 Sep 2006 15:40:47 -0000 1.8 *************** *** 857,860 **** --- 857,862 ---- CBM_SYSTEM_LINUX_TRUE CBM_SYSTEM_LINUX_FALSE + CBM_SYSTEM_CYGWIN_TRUE + CBM_SYSTEM_CYGWIN_FALSE LIBOBJS LTLIBOBJS' *************** *** 2341,2344 **** --- 2343,2350 ---- CBM_SYSTEM_LINUX=1 ;; + CYGWIN*) + CBM_SYSTEM=CBMSystemCygwin + CBM_SYSTEM_CYGWIN=1 + ;; *) echo "$sys not supported yet." >&2 *************** *** 4523,4527 **** *-*-irix6*) # Find out which ABI we are using. ! echo '#line 4525 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 --- 4529,4533 ---- *-*-irix6*) # Find out which ABI we are using. ! echo '#line 4531 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 *************** *** 6941,6949 **** -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:6943: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:6947: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized --- 6947,6955 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:6949: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:6953: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized *************** *** 7209,7217 **** -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:7211: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:7215: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized --- 7215,7223 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:7217: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:7221: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized *************** *** 7313,7321 **** -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:7315: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:7319: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then --- 7319,7327 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:7321: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:7325: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then *************** *** 9754,9758 **** lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 9756 "configure" #include "confdefs.h" --- 9760,9764 ---- lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 9762 "configure" #include "confdefs.h" *************** *** 9854,9858 **** lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 9856 "configure" #include "confdefs.h" --- 9860,9864 ---- lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 9862 "configure" #include "confdefs.h" *************** *** 12222,12230 **** -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:12224: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:12228: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized --- 12228,12236 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:12230: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:12234: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized *************** *** 12326,12334 **** -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:12328: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:12332: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then --- 12332,12340 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:12334: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:12338: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then *************** *** 13887,13895 **** -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:13889: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:13893: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized --- 13893,13901 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:13895: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:13899: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized *************** *** 13991,13999 **** -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:13993: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:13997: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then --- 13997,14005 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:13999: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:14003: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then *************** *** 16210,16218 **** -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:16212: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:16216: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized --- 16216,16224 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:16218: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:16222: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized *************** *** 16478,16486 **** -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:16480: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:16484: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized --- 16484,16492 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:16486: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:16490: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized *************** *** 16582,16590 **** -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:16584: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:16588: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then --- 16588,16596 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:16590: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:16594: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then *************** *** 20639,20649 **** cat >>confdefs.h <<_ACEOF ! #define CBM_SYSTEM_LINUX test $CBM_SYSTEM_LINUX = 1 _ACEOF ! if test $CBM_SYSTEM_LINUX = 1; then CBM_SYSTEM_LINUX_TRUE= CBM_SYSTEM_LINUX_FALSE='#' --- 20645,20661 ---- + if test "$CBM_SYSTEM_LINUX"x = "1x"; then + sys_linux_def=1 + else + sys_linux_def=0 + fi + cat >>confdefs.h <<_ACEOF ! #define CBM_SYSTEM_LINUX $sys_linux_def _ACEOF ! if test "$CBM_SYSTEM_LINUX"x = "1x"; then CBM_SYSTEM_LINUX_TRUE= CBM_SYSTEM_LINUX_FALSE='#' *************** *** 20653,20660 **** fi top_srcdir=`cd $srcdir; pwd`; ! ac_config_files="$ac_config_files share/Makefile share/patches/Makefile System/Makefile Benchmark/Compiler/Makefile Benchmark/Makefile UI/Makefile Makefile" cat >confcache <<\_ACEOF --- 20665,20692 ---- fi + if test "$CBM_SYSTEM_CYGWIN"x = "1x"; then + sys_cygwin_def=1 + else + sys_cygwin_def=0 + fi + + cat >>confdefs.h <<_ACEOF + #define CBM_SYSTEM_CYGWIN $sys_cygwin_def + _ACEOF + + + + if test "$CBM_SYSTEM_CYGWIN" = "1x"; then + CBM_SYSTEM_CYGWIN_TRUE= + CBM_SYSTEM_CYGWIN_FALSE='#' + else + CBM_SYSTEM_CYGWIN_TRUE='#' + CBM_SYSTEM_CYGWIN_FALSE= + fi + top_srcdir=`cd $srcdir; pwd`; ! ac_config_files="$ac_config_files share/Makefile share/patches/Makefile share/system/Makefile share/system/cygwin/Makefile System/Makefile Benchmark/Compiler/Makefile Benchmark/Makefile UI/Makefile Makefile" cat >confcache <<\_ACEOF *************** *** 21211,21214 **** --- 21243,21248 ---- "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;; "share/patches/Makefile") CONFIG_FILES="$CONFIG_FILES share/patches/Makefile" ;; + "share/system/Makefile") CONFIG_FILES="$CONFIG_FILES share/system/Makefile" ;; + "share/system/cygwin/Makefile") CONFIG_FILES="$CONFIG_FILES share/system/cygwin/Makefile" ;; "System/Makefile") CONFIG_FILES="$CONFIG_FILES System/Makefile" ;; "Benchmark/Compiler/Makefile") CONFIG_FILES="$CONFIG_FILES Benchmark/Compiler/Makefile" ;; *************** *** 21423,21431 **** CBM_SYSTEM_LINUX_TRUE!$CBM_SYSTEM_LINUX_TRUE$ac_delim CBM_SYSTEM_LINUX_FALSE!$CBM_SYSTEM_LINUX_FALSE$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF ! if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then break elif $ac_last_try; then --- 21457,21467 ---- CBM_SYSTEM_LINUX_TRUE!$CBM_SYSTEM_LINUX_TRUE$ac_delim CBM_SYSTEM_LINUX_FALSE!$CBM_SYSTEM_LINUX_FALSE$ac_delim + CBM_SYSTEM_CYGWIN_TRUE!$CBM_SYSTEM_CYGWIN_TRUE$ac_delim + CBM_SYSTEM_CYGWIN_FALSE!$CBM_SYSTEM_CYGWIN_FALSE$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF ! if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then break elif $ac_last_try; then Index: configure.in =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/configure.in,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** configure.in 24 Sep 2006 16:27:42 -0000 1.7 --- configure.in 25 Sep 2006 15:40:47 -0000 1.8 *************** *** 16,19 **** --- 16,23 ---- CBM_SYSTEM_LINUX=1 ;; + CYGWIN*) + CBM_SYSTEM=CBMSystemCygwin + CBM_SYSTEM_CYGWIN=1 + ;; *) echo "$sys not supported yet." >&2 *************** *** 214,219 **** AC_DEFINE_UNQUOTED(PREFIX, "$pprefix", [Installation prefix]) AC_DEFINE_UNQUOTED(CBM_SYSTEM, $CBM_SYSTEM, [System]) ! AC_DEFINE_UNQUOTED(CBM_SYSTEM_LINUX, test $CBM_SYSTEM_LINUX = 1, [Linux]) ! AM_CONDITIONAL(CBM_SYSTEM_LINUX, test $CBM_SYSTEM_LINUX = 1) top_srcdir=`cd $srcdir; pwd`; --- 218,237 ---- AC_DEFINE_UNQUOTED(PREFIX, "$pprefix", [Installation prefix]) AC_DEFINE_UNQUOTED(CBM_SYSTEM, $CBM_SYSTEM, [System]) ! ! if test "$CBM_SYSTEM_LINUX"x = "1x"; then ! sys_linux_def=1 ! else ! sys_linux_def=0 ! fi ! AC_DEFINE_UNQUOTED(CBM_SYSTEM_LINUX, $sys_linux_def, [Linux]) ! AM_CONDITIONAL(CBM_SYSTEM_LINUX, test "$CBM_SYSTEM_LINUX"x = "1x") ! ! if test "$CBM_SYSTEM_CYGWIN"x = "1x"; then ! sys_cygwin_def=1 ! else ! sys_cygwin_def=0 ! fi ! AC_DEFINE_UNQUOTED(CBM_SYSTEM_CYGWIN, $sys_cygwin_def, [Cygwin]) ! AM_CONDITIONAL(CBM_SYSTEM_CYGWIN, test "$CBM_SYSTEM_CYGWIN" = "1x") top_srcdir=`cd $srcdir; pwd`; *************** *** 222,225 **** --- 240,245 ---- AC_OUTPUT(share/Makefile share/patches/Makefile + share/system/Makefile + share/system/cygwin/Makefile System/Makefile Benchmark/Compiler/Makefile |