From c4bbce8be19cd60e7ffd0180194c0e0e92091381 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Fri, 16 Mar 2007 18:26:30 -0500 Subject: [svn-r13523] Description Switch the default setting for configure from --enable-production/--disable-debug to --disable-production/--enable-debug. Platform Tested: In kagiso with fortran and C++. No commit test because changes happened in configure and it is straight forward. --- configure | 10 +++++----- configure.in | 8 ++++---- src/Makefile.in | 15 ++++++++------- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/configure b/configure index 5c81ff3..ed7cf05 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 13475 2007-03-08 17:57:36Z mcgreevy . +# From configure.in Id: configure.in 13476 2007-03-08 20:09:19Z hdftest . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.60 for HDF5 1.8.0-alpha6snap3. # @@ -24228,7 +24228,7 @@ fi case "X-$enable_production" in - X-|X-yes) + X-yes) enable_production="yes" { echo "$as_me:$LINENO: result: production" >&5 echo "${ECHO_T}production" >&6; } @@ -24269,7 +24269,7 @@ echo "${ECHO_T}production" >&6; } H5_CXXFLAGS="$H5_CXXFLAGS $PROD_CXXFLAGS" H5_FCFLAGS="$H5_FCFLAGS $PROD_FCFLAGS" ;; - X-no) + X-|X-no) enable_production="no" { echo "$as_me:$LINENO: result: development" >&5 echo "${ECHO_T}development" >&6; } @@ -54805,7 +54805,7 @@ fi all_packages="ac,b,b2,d,e,f,g,hg,hl,i,mf,mm,o,p,s,t,v,z" case "X-$DEBUG_PKG" in - X-yes) + X-|X-yes) DEBUG_PKG="d,e,f,g,hg,i,mm,o,p,s,t,v,z" H5_CPPFLAGS="$H5_CPPFLAGS -UNDEBUG" { echo "$as_me:$LINENO: result: default ($DEBUG_PKG)" >&5 @@ -54817,7 +54817,7 @@ echo "${ECHO_T}default ($DEBUG_PKG)" >&6; } { echo "$as_me:$LINENO: result: all ($DEBUG_PKG)" >&5 echo "${ECHO_T}all ($DEBUG_PKG)" >&6; } ;; - X-|X-no|X-none) + X-no|X-none) { echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6; } DEBUG_PKG= diff --git a/configure.in b/configure.in index d8dbb14..dc9efc2 100644 --- a/configure.in +++ b/configure.in @@ -991,7 +991,7 @@ AC_ARG_ENABLE(production, [Determines how to run the compiler.])]) case "X-$enable_production" in - X-|X-yes) + X-yes) enable_production="yes" AC_MSG_RESULT([production]) @@ -1033,7 +1033,7 @@ case "X-$enable_production" in H5_CXXFLAGS="$H5_CXXFLAGS $PROD_CXXFLAGS" H5_FCFLAGS="$H5_FCFLAGS $PROD_FCFLAGS" ;; - X-no) + X-|X-no) enable_production="no" AC_MSG_RESULT([development]) CONFIG_MODE=development @@ -2041,7 +2041,7 @@ AC_ARG_ENABLE([debug], AC_SUBST([DEBUG_PKG]) all_packages="ac,b,b2,d,e,f,g,hg,hl,i,mf,mm,o,p,s,t,v,z" case "X-$DEBUG_PKG" in - X-yes) + X-|X-yes) DEBUG_PKG="d,e,f,g,hg,i,mm,o,p,s,t,v,z" H5_CPPFLAGS="$H5_CPPFLAGS -UNDEBUG" AC_MSG_RESULT([default ($DEBUG_PKG)]) @@ -2051,7 +2051,7 @@ case "X-$DEBUG_PKG" in H5_CPPFLAGS="$H5_CPPFLAGS -UNDEBUG" AC_MSG_RESULT([all ($DEBUG_PKG)]) ;; - X-|X-no|X-none) + X-no|X-none) AC_MSG_RESULT([none]) DEBUG_PKG= H5_CPPFLAGS="$H5_CPPFLAGS -DNDEBUG" diff --git a/src/Makefile.in b/src/Makefile.in index 1c1bb6e..421c310 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -105,12 +105,12 @@ am_libhdf5_la_OBJECTS = H5.lo H5checksum.lo H5dbg.lo H5system.lo \ H5Obtreek.lo H5Ocache.lo H5Ocont.lo H5Ocopy.lo H5Odbg.lo \ H5Odrvinfo.lo H5Odtype.lo H5Oefl.lo H5Ofill.lo H5Oginfo.lo \ H5Olayout.lo H5Olinfo.lo H5Olink.lo H5Omessage.lo H5Omtime.lo \ - H5Oname.lo H5Onull.lo H5Opline.lo H5Orefcount.lo H5Osdspace.lo H5Oshared.lo \ - H5Ostab.lo H5Oshmesg.lo H5Otest.lo H5P.lo H5Pacpl.lo \ - H5Pdcpl.lo H5Pdxpl.lo H5Pfapl.lo H5Pfcpl.lo H5Pfmpl.lo \ - H5Pgcpl.lo H5Plapl.lo H5Plcpl.lo H5Pocpl.lo H5Pocpypl.lo \ - H5Pstrcpl.lo H5Ptest.lo H5R.lo H5RC.lo H5RS.lo H5S.lo \ - H5Sall.lo H5Shyper.lo H5Smpio.lo H5Snone.lo H5Spoint.lo \ + H5Oname.lo H5Onull.lo H5Opline.lo H5Orefcount.lo H5Osdspace.lo \ + H5Oshared.lo H5Ostab.lo H5Oshmesg.lo H5Otest.lo H5P.lo \ + H5Pacpl.lo H5Pdcpl.lo H5Pdxpl.lo H5Pfapl.lo H5Pfcpl.lo \ + H5Pfmpl.lo H5Pgcpl.lo H5Plapl.lo H5Plcpl.lo H5Pocpl.lo \ + H5Pocpypl.lo H5Pstrcpl.lo H5Ptest.lo H5R.lo H5RC.lo H5RS.lo \ + H5S.lo H5Sall.lo H5Shyper.lo H5Smpio.lo H5Snone.lo H5Spoint.lo \ H5Sselect.lo H5Stest.lo H5SL.lo H5SM.lo H5SMbtree2.lo \ H5SMcache.lo H5SMtest.lo H5ST.lo H5T.lo H5Tarray.lo H5Tbit.lo \ H5Tcommit.lo H5Tcompound.lo H5Tconv.lo H5Tcset.lo H5Tenum.lo \ @@ -426,7 +426,8 @@ libhdf5_la_SOURCES = H5.c H5checksum.c H5dbg.c H5system.c H5timer.c H5trace.c \ H5Ofill.c H5Oginfo.c \ H5Olayout.c \ H5Olinfo.c H5Olink.c H5Omessage.c H5Omtime.c \ - H5Oname.c H5Onull.c H5Opline.c H5Orefcount.c H5Osdspace.c H5Oshared.c H5Ostab.c \ + H5Oname.c H5Onull.c H5Opline.c H5Orefcount.c \ + H5Osdspace.c H5Oshared.c H5Ostab.c \ H5Oshmesg.c H5Otest.c \ H5P.c H5Pacpl.c H5Pdcpl.c H5Pdxpl.c H5Pfapl.c H5Pfcpl.c H5Pfmpl.c \ H5Pgcpl.c \ -- cgit v0.12