[Compbench-devel] CompBenchmarks++ config.h.in, 1.6, 1.7 configure, 1.8, 1.9 configure.in, 1.8, 1.9
Brought to you by:
xfred
|
From: Frederic T. <xf...@us...> - 2006-09-25 17:29:37
|
Update of /cvsroot/compbench/CompBenchmarks++ In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv17246 Modified Files: config.h.in configure configure.in main.cpp Log Message: Added FreeBSD support. Index: main.cpp =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/main.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** main.cpp 25 Sep 2006 15:41:24 -0000 1.4 --- main.cpp 25 Sep 2006 17:29:32 -0000 1.5 *************** *** 9,12 **** --- 9,16 ---- #endif + #ifdef CBM_SYSTEM_FREEBSD + # include <System/System-FreeBSD.h> + #endif + #include <cloptions.h> Index: config.h.in =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/config.h.in,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** config.h.in 25 Sep 2006 15:39:33 -0000 1.6 --- config.h.in 25 Sep 2006 17:29:32 -0000 1.7 *************** *** 64,67 **** --- 64,70 ---- #undef CBM_SYSTEM_CYGWIN + /* FreeBSD */ + #undef CBM_SYSTEM_FREEBSD + /* Linux */ #undef CBM_SYSTEM_LINUX Index: configure =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/configure,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** configure 25 Sep 2006 15:40:47 -0000 1.8 --- configure 25 Sep 2006 17:29:32 -0000 1.9 *************** *** 859,862 **** --- 859,864 ---- CBM_SYSTEM_CYGWIN_TRUE CBM_SYSTEM_CYGWIN_FALSE + CBM_SYSTEM_FREEBSD_TRUE + CBM_SYSTEM_FREEBSD_FALSE LIBOBJS LTLIBOBJS' *************** *** 2347,2350 **** --- 2349,2356 ---- CBM_SYSTEM_CYGWIN=1 ;; + FreeBSD) + CBM_SYSTEM=CBMSystemFreeBSD + CBM_SYSTEM_FREEBSD=1 + ;; *) echo "$sys not supported yet." >&2 *************** *** 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 --- 4535,4539 ---- *-*-irix6*) # Find out which ABI we are using. ! echo '#line 4537 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 *************** *** 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 --- 6953,6961 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:6955: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:6959: \$? = $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 --- 7221,7229 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:7223: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:7227: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized *************** *** 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 --- 7325,7333 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:7327: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:7331: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then *************** *** 9760,9764 **** lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 9762 "configure" #include "confdefs.h" --- 9766,9770 ---- lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 9768 "configure" #include "confdefs.h" *************** *** 9860,9864 **** lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 9862 "configure" #include "confdefs.h" --- 9866,9870 ---- lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF ! #line 9868 "configure" #include "confdefs.h" *************** *** 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 --- 12234,12242 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:12236: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:12240: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized *************** *** 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 --- 12338,12346 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:12340: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:12344: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then *************** *** 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 --- 13899,13907 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:13901: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:13905: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized *************** *** 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 --- 14003,14011 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:14005: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:14009: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then *************** *** 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 --- 16222,16230 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:16224: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:16228: \$? = $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 --- 16490,16498 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:16492: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 ! echo "$as_me:16496: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized *************** *** 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 --- 16594,16602 ---- -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` ! (eval echo "\"\$as_me:16596: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 ! echo "$as_me:16600: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then *************** *** 20685,20688 **** --- 20691,20714 ---- fi + if test "$CBM_SYSTEM_FREEBSD"x = "1x"; then + sys_freebsd_def=1 + else + sys_freebsd_def=0 + fi + + cat >>confdefs.h <<_ACEOF + #define CBM_SYSTEM_FREEBSD $sys_freebsd_def + _ACEOF + + + + if test "$CBM_SYSTEM_FREEBSD" = "1x"; then + CBM_SYSTEM_FREEBSD_TRUE= + CBM_SYSTEM_FREEBSD_FALSE='#' + else + CBM_SYSTEM_FREEBSD_TRUE='#' + CBM_SYSTEM_FREEBSD_FALSE= + fi + top_srcdir=`cd $srcdir; pwd`; *************** *** 21459,21467 **** 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 --- 21485,21495 ---- CBM_SYSTEM_CYGWIN_TRUE!$CBM_SYSTEM_CYGWIN_TRUE$ac_delim CBM_SYSTEM_CYGWIN_FALSE!$CBM_SYSTEM_CYGWIN_FALSE$ac_delim + CBM_SYSTEM_FREEBSD_TRUE!$CBM_SYSTEM_FREEBSD_TRUE$ac_delim + CBM_SYSTEM_FREEBSD_FALSE!$CBM_SYSTEM_FREEBSD_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` = 13; then break elif $ac_last_try; then Index: configure.in =================================================================== RCS file: /cvsroot/compbench/CompBenchmarks++/configure.in,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** configure.in 25 Sep 2006 15:40:47 -0000 1.8 --- configure.in 25 Sep 2006 17:29:32 -0000 1.9 *************** *** 20,23 **** --- 20,27 ---- CBM_SYSTEM_CYGWIN=1 ;; + FreeBSD) + CBM_SYSTEM=CBMSystemFreeBSD + CBM_SYSTEM_FREEBSD=1 + ;; *) echo "$sys not supported yet." >&2 *************** *** 235,238 **** --- 239,250 ---- AM_CONDITIONAL(CBM_SYSTEM_CYGWIN, test "$CBM_SYSTEM_CYGWIN" = "1x") + if test "$CBM_SYSTEM_FREEBSD"x = "1x"; then + sys_freebsd_def=1 + else + sys_freebsd_def=0 + fi + AC_DEFINE_UNQUOTED(CBM_SYSTEM_FREEBSD, $sys_freebsd_def, [FreeBSD]) + AM_CONDITIONAL(CBM_SYSTEM_FREEBSD, test "$CBM_SYSTEM_FREEBSD" = "1x") + top_srcdir=`cd $srcdir; pwd`; |