[Pvfs2-cvs] commit by pw in pvfs2: configure configure.in
CVS commit program
cvs at parl.clemson.edu
Sun Jul 22 12:22:03 EDT 2007
Update of /projects/cvsroot/pvfs2
In directory parlweb1:/tmp/cvs-serv23232
Modified Files:
configure configure.in
Log Message:
Hide PVFS2_SEGV_BACKTRACE option down in server code where it applies.
Fix little gossip module.mk.in thinko.
Index: configure
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure,v
diff -u -p -p -u -r1.351 -r1.352
--- configure 22 Jul 2007 16:14:58 -0000 1.351
+++ configure 22 Jul 2007 16:22:02 -0000 1.352
@@ -702,6 +702,7 @@ ENABLE_COVERAGE
STRICT_CFLAGS
QUIET_COMPILE
BUILD_EPOLL
+PVFS2_SEGV_BACKTRACE
build_shared
INTELC
GNUC
@@ -11407,11 +11408,11 @@ fi
# Check whether --enable-segv-backtrace was given.
if test "${enable_segv_backtrace+set}" = set; then
- enableval=$enable_segv_backtrace; CFLAGS="$CFLAGS -D__PVFS2_SEGV_BACKTRACE__"
-
+ enableval=$enable_segv_backtrace; PVFS2_SEGV_BACKTRACE=1
fi
+
# Check whether --enable-shared was given.
if test "${enable_shared+set}" = set; then
enableval=$enable_shared; build_shared=$enableval
@@ -17701,6 +17702,7 @@ ENABLE_COVERAGE!$ENABLE_COVERAGE$ac_deli
STRICT_CFLAGS!$STRICT_CFLAGS$ac_delim
QUIET_COMPILE!$QUIET_COMPILE$ac_delim
BUILD_EPOLL!$BUILD_EPOLL$ac_delim
+PVFS2_SEGV_BACKTRACE!$PVFS2_SEGV_BACKTRACE$ac_delim
build_shared!$build_shared$ac_delim
INTELC!$INTELC$ac_delim
GNUC!$GNUC$ac_delim
@@ -17708,7 +17710,6 @@ DB_CFLAGS!$DB_CFLAGS$ac_delim
DB_LIB!$DB_LIB$ac_delim
NEEDS_LIBRT!$NEEDS_LIBRT$ac_delim
TARGET_OS_DARWIN!$TARGET_OS_DARWIN$ac_delim
-TARGET_OS_LINUX!$TARGET_OS_LINUX$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
@@ -17750,6 +17751,7 @@ _ACEOF
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
cat >conf$$subs.sed <<_ACEOF
+TARGET_OS_LINUX!$TARGET_OS_LINUX$ac_delim
BUILD_BMI_TCP!$BUILD_BMI_TCP$ac_delim
GM_HOME!$GM_HOME$ac_delim
BUILD_GM!$BUILD_GM$ac_delim
@@ -17773,7 +17775,7 @@ LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
Index: configure.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure.in,v
diff -u -p -p -u -r1.327 -r1.328
--- configure.in 22 Jul 2007 16:14:59 -0000 1.327
+++ configure.in 22 Jul 2007 16:22:03 -0000 1.328
@@ -610,8 +610,8 @@ AC_ARG_ENABLE(epoll,
dnl enables a hack to print back traces out of segfault signal handler
AC_ARG_ENABLE(segv-backtrace,
[ --enable-segv-backtrace Enables back traces in segfault signal handler],
-CFLAGS="$CFLAGS -D__PVFS2_SEGV_BACKTRACE__"
-,)
+ PVFS2_SEGV_BACKTRACE=1)
+AC_SUBST(PVFS2_SEGV_BACKTRACE)
dnl shared or static client library
AC_ARG_ENABLE(shared,
More information about the Pvfs2-cvs
mailing list