--- yoda/configure 2004/08/19 15:23:51 1.6 +++ yoda/configure 2004/09/21 20:22:59 1.7 @@ -1028,6 +1028,7 @@ --enable-static=PKGS build static libraries default=yes --enable-fast-install=PKGS optimize for fast installation default=yes --disable-libtool-lock avoid locking (might break parallel builds) +--enable-gprof enable memory profiling with gprof Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1035,7 +1036,7 @@ --with-gnu-ld assume the C compiler uses GNU ld default=no --with-pic try to use only PIC/non-PIC objects default=use both --with-root=path Use the specified ROOT directory ---with-log4cpp=path Use the specified directroy for log4cpp +--with-log4cxx=path Use the specified directroy for log4cxx Some influential environment variables: CC C compiler command @@ -2867,7 +2868,7 @@ # Provide some information about the compiler. -echo "$as_me:2870:" \ +echo "$as_me:2871:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -3064,7 +3065,7 @@ # flags. ac_save_FFLAGS=$FFLAGS FFLAGS="$FFLAGS $ac_verb" -(eval echo $as_me:3067: \"$ac_link\") >&5 +(eval echo $as_me:3068: \"$ac_link\") >&5 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` echo "$ac_f77_v_output" >&5 FFLAGS=$ac_save_FFLAGS @@ -3142,7 +3143,7 @@ # flags. ac_save_FFLAGS=$FFLAGS FFLAGS="$FFLAGS $ac_cv_prog_f77_v" -(eval echo $as_me:3145: \"$ac_link\") >&5 +(eval echo $as_me:3146: \"$ac_link\") >&5 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` echo "$ac_f77_v_output" >&5 FFLAGS=$ac_save_FFLAGS @@ -5344,7 +5345,7 @@ case $host in *-*-irix6*) # Find out which ABI we are using. - echo '#line 5347 "configure"' > conftest.$ac_ext + echo '#line 5348 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5920,7 +5921,7 @@ save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" compiler_c_o=no -if { (eval echo configure:5923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then +if { (eval echo configure:5924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings if test -s out/conftest.err; then @@ -7853,7 +7854,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5 +echo $ECHO_N "checking for gprof... $ECHO_C" >&6 +# Check whether --enable-gprof or --disable-gprof was given. +if test "${enable_gprof+set}" = set; then + enableval="$enable_gprof" + gprof=$enableval +else + gprof=no +fi; +if test "$gprof" != no +then + CFLAGS="-pg $CFLAGS" + echo "$as_me:$LINENO: result: enabled" >&5 +echo "${ECHO_T}enabled" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + -# Check whether --with-log4cppp or --without-log4cppp was given. -if test "${with_log4cppp+set}" = set; then - withval="$with_log4cppp" - LOG4CPP=$with_log4cpp +# Check whether --with-log4cxx or --without-log4cxx was given. +if test "${with_log4cxx+set}" = set; then + withval="$with_log4cxx" + LOG4CXX=$with_log4cxx fi; +LOG4CXX_INCLUDES="-I${LOG4CXX}/include" echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6