Commit dd466d8a by Maarten L. Hekkelman

configure and version string

parent afa96444
...@@ -625,17 +625,18 @@ ac_includes_default="\ ...@@ -625,17 +625,18 @@ ac_includes_default="\
ac_subst_vars='LTLIBOBJS ac_subst_vars='LTLIBOBJS
LIBOBJS LIBOBJS
CIFPP_LDFLAGS
CIFPP_CPPFLAGS
LIBBZ2_LDFLAGS LIBBZ2_LDFLAGS
LIBBZ2_CPPFLAGS LIBBZ2_CPPFLAGS
LIBZ_LDFLAGS LIBZ_LDFLAGS
LIBZ_CPPFLAGS LIBZ_CPPFLAGS
CIFPP_LDFLAGS
CIFPP_CPPFLAGS
AX_PACKAGE_REQUIRES_PRIVATE AX_PACKAGE_REQUIRES_PRIVATE
AX_PACKAGE_REQUIRES AX_PACKAGE_REQUIRES
PKG_CONFIG_LIBDIR PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH PKG_CONFIG_PATH
PKG_CONFIG PKG_CONFIG
CIFPP_RSRC
CIFPP_LIBS CIFPP_LIBS
CIFPP_CFLAGS CIFPP_CFLAGS
BOOST_DATE_TIME_LIB BOOST_DATE_TIME_LIB
...@@ -747,12 +748,12 @@ PKG_CONFIG_PATH ...@@ -747,12 +748,12 @@ PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR PKG_CONFIG_LIBDIR
CIFPP_CFLAGS CIFPP_CFLAGS
CIFPP_LIBS CIFPP_LIBS
CIFPP_CPPFLAGS
CIFPP_LDFLAGS
LIBZ_CPPFLAGS LIBZ_CPPFLAGS
LIBZ_LDFLAGS LIBZ_LDFLAGS
LIBBZ2_CPPFLAGS LIBBZ2_CPPFLAGS
LIBBZ2_LDFLAGS' LIBBZ2_LDFLAGS
CIFPP_CPPFLAGS
CIFPP_LDFLAGS'
# Initialize some variables set by options. # Initialize some variables set by options.
...@@ -1434,14 +1435,6 @@ Some influential environment variables: ...@@ -1434,14 +1435,6 @@ Some influential environment variables:
C preprocessor flags for CIFPP headers C preprocessor flags for CIFPP headers
CIFPP_LDFLAGS CIFPP_LDFLAGS
linker flags for CIFPP libraries linker flags for CIFPP libraries
LIBZ_CPPFLAGS
C preprocessor flags for LIBZ headers
LIBZ_LDFLAGS
linker flags for LIBZ libraries
LIBBZ2_CPPFLAGS
C preprocessor flags for LIBBZ2 headers
LIBBZ2_LDFLAGS
linker flags for LIBBZ2 libraries
Use these variables to override the choices made by `configure' or to help Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations. it to find libraries and programs with nonstandard names/locations.
...@@ -6835,6 +6828,7 @@ fi ...@@ -6835,6 +6828,7 @@ fi
CIFPP_CFLAGS="-I ${withval}/include" CIFPP_CFLAGS="-I ${withval}/include"
CIFPP_LIBS="-L${withval}/.libs -lcif++" CIFPP_LIBS="-L${withval}/.libs -lcif++"
CIFPP_RSRC="${withval}/rsrc"
CIFPP_CFLAGS=$CIFPP_CFLAGS CIFPP_CFLAGS=$CIFPP_CFLAGS
...@@ -6844,6 +6838,9 @@ fi ...@@ -6844,6 +6838,9 @@ fi
fi fi
CIFPP_RSRC=$CIFPP_RSRC
...@@ -7181,17 +7178,20 @@ fi ...@@ -7181,17 +7178,20 @@ fi
$as_echo "#define HAVE_CIFPP 1" >>confdefs.h $as_echo "#define HAVE_CIFPP 1" >>confdefs.h
LIBS="-lcif++ $LIBS"
else
as_fn_error $? "libcif++ not found" "$LINENO" 5
fi
fi LIBS="-lcif++ $LIBS"
else
fi
fi fi
LIBZ_CPPFLAGS
C preprocessor flags for LIBZ headers
LIBZ_LDFLAGS
linker flags for LIBZ libraries
if ${ax_cv_have_LIBZ+:} false; then : if ${ax_cv_have_LIBZ+:} false; then :
...@@ -7272,7 +7272,11 @@ else ...@@ -7272,7 +7272,11 @@ else
fi fi
LIBBZ2_CPPFLAGS
C preprocessor flags for LIBBZ2 headers
LIBBZ2_LDFLAGS
linker flags for LIBBZ2 libraries
if ${ax_cv_have_LIBBZ2+:} false; then : if ${ax_cv_have_LIBBZ2+:} false; then :
...@@ -7377,12 +7381,14 @@ _ACEOF ...@@ -7377,12 +7381,14 @@ _ACEOF
# Ultrix sh set writes to stderr and can't be redirected directly, # Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars. # and sets the high bit in the cache file unless we assign to the vars.
( (
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do for ac_var in `(set) 2>&1 | sed -n 's/^\(a-zA-Z_a-zA-Z0-9_*\)=.*/\1/p'`; do
eval ac_val=\$$ac_var eval ac_val=\$$ac_var
case $ac_val in #( case $ac_val in #(
*${as_nl}*) *${as_nl}*)
case $ac_var in #( case $ac_var in #(
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 *_cv_*
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
esac esac
case $ac_var in #( case $ac_var in #(
......
...@@ -176,12 +176,12 @@ void load_version_info() ...@@ -176,12 +176,12 @@ void load_version_info()
if (not VERSION_STRING.empty()) if (not VERSION_STRING.empty())
VERSION_STRING += "\n"; VERSION_STRING += "\n";
VERSION_STRING += gVersionNr + " " + gVersionDate; VERSION_STRING += gVersionNr + '.' + cif::get_version_nr() + " " + gVersionDate;
} }
std::string get_version_nr() std::string get_version_nr()
{ {
return gVersionNr; return gVersionNr + '/' + cif::get_version_nr();
} }
std::string get_version_date() std::string get_version_date()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment