Skip to content
Browse files

Synchronize VW and Stereo build systems

  • Loading branch information...
1 parent 6c1add5 commit 545de6e9b4753868038cbdd6102eb495e231ed63 @novas0x2a novas0x2a committed Aug 20, 2009
Showing with 196 additions and 427 deletions.
  1. +58 −55 configure.ac
  2. +45 −44 m4/ax_app.m4
  3. +20 −0 m4/ax_common_options.m4
  4. +3 −9 m4/ax_find_files.m4
  5. +0 −118 m4/ax_module.m4
  6. +0 −68 m4/ax_module_python.m4
  7. +17 −33 m4/ax_pkg.m4
  8. +19 −13 m4/ax_pkg_boost.m4
  9. +24 −65 m4/ax_pkg_boost_lib.m4
  10. +10 −22 m4/ax_pkg_pthreads.m4
View
113 configure.ac
@@ -1,25 +1,8 @@
-# __BEGIN_LICENSE__
-#
-# Copyright (C) 2006 United States Government as represented by the
-# Administrator of the National Aeronautics and Space Administration
-# (NASA). All Rights Reserved.
-#
-# Copyright 2006 Carnegie Mellon University. All rights reserved.
-#
-# This software is distributed under the NASA Open Source Agreement
-# (NOSA), version 1.3. The NOSA has been approved by the Open Source
-# Initiative. See the file COPYING at the top of the distribution
-# directory tree for the complete NOSA document.
-#
-# THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY
-# KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT
-# LIMITED TO, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL CONFORM TO
-# SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR
-# A PARTICULAR PURPOSE, OR FREEDOM FROM INFRINGEMENT, ANY WARRANTY THAT
-# THE SUBJECT SOFTWARE WILL BE ERROR FREE, OR ANY WARRANTY THAT
-# DOCUMENTATION, IF PROVIDED, WILL CONFORM TO THE SUBJECT SOFTWARE.
-#
-# __END_LICENSE__
+dnl __BEGIN_LICENSE__
+dnl Copyright (C) 2006, 2007 United States Government as represented by
+dnl the Administrator of the National Aeronautics and Space Administration.
+dnl All Rights Reserved.
+dnl __END_LICENSE__
m4_pattern_forbid([^AX_])
m4_pattern_allow([AX_CFLAGS])
@@ -39,7 +22,7 @@ AC_CANONICAL_HOST
AM_INIT_AUTOMAKE([nostdinc])
AX_CONFIG_HEADER_PREFIX([src/asp_config.h], [ASP_])
-dnl TODO BEFORE RELEASE: update libtool version
+dnl TODO RIGHT BEFORE RELEASE: update libtool version
dnl if abi changes in any way:
dnl current++
dnl revision=0
@@ -55,15 +38,11 @@ dnl LIBTOOL_VERSION=current:revision:age
LIBTOOL_VERSION=1:0:0
AC_SUBST(LIBTOOL_VERSION)
-# This should be first, so everything else can use it
-AX_ARG_ENABLE(verbose, no, [none], [verbose configuration output])
-
# load the config.options
if test -f ./config.options; then
- if test "yes" = "$ENABLE_VERBOSE" ; then
- AC_MSG_NOTICE([sourcing ./config.options])
- cat ./config.options
- fi
+ AX_LOG([using config.options << EOF])
+ AX_LOG([`cat ./config.options`])
+ AX_LOG([EOF])
source ./config.options
fi
@@ -91,24 +70,44 @@ AX_COMMON_OPTIONS
+
##################################################
-# package checks
+# Compilation options
+##################################################
+
+AX_ARG_ENABLE(strict-aliasing, no, [none], [allow strict aliasing (dangerous)])
+
+##################################################
+# Handle options
##################################################
-AX_PKG_PTHREADS
-AX_PKG_BOOST
-AX_PKG_BOOST_CHECK_VERSION([ASP_])
-AC_MSG_NOTICE([Stereo will be built using Boost version $BOOST_VERSION])
-AX_PKG_BOOST_LIB(PROGRAM_OPTIONS, [-lboost_program_options], [boost/program_options.hpp])
-AX_PKG_ONE_OF(BOOST_FILESYSTEM,
- BOOST_FILESYSTEM_PRE_1_35, [AX_PKG_BOOST_LIB(FILESYSTEM_PRE_1_35, [-lboost_filesystem], [boost/filesystem/path.hpp])],
- BOOST_FILESYSTEM_POST_1_35, [AX_PKG_BOOST_LIB(FILESYSTEM_POST_1_35, [-lboost_filesystem -lboost_system], [boost/filesystem/path.hpp])])
+##################################################
+# distribution options
+##################################################
+
-AX_PKG_BOOST_LIB(THREAD, [-lboost_thread], [boost/thread/thread.hpp])
-AX_PKG_BOOST_LIB(IOSTREAMS, [-lboost_iostreams], [boost/iostreams/stream_buffer.hpp])
+
+
+##################################################
+# package checks
+##################################################
+
+AX_PKG_PTHREADS
+
+AX_PKG_BOOST
+if test x"$HAVE_PKG_BOOST" == "xyes"; then
+ AX_PKG_BOOST_CHECK_VERSION([ASP_])
+ AC_MSG_NOTICE([Stereo will be built using Boost version $BOOST_VERSION])
+
+ AX_PKG_BOOST_LIB(PROGRAM_OPTIONS, [-lboost_program_options], [boost/program_options.hpp])
+ AX_PKG_BOOST_LIB(SYSTEM, [-lboost_system], [boost/system/error_code.hpp])
+ AX_PKG_BOOST_LIB(FILESYSTEM, [-lboost_filesystem], [boost/filesystem/path.hpp], [$PKG_BOOST_SYSTEM_LIBS])
+ AX_PKG_BOOST_LIB(THREAD, [-lboost_thread], [boost/thread/thread.hpp])
+ AX_PKG_BOOST_LIB(IOSTREAMS, [-lboost_iostreams], [boost/iostreams/stream_buffer.hpp])
+fi
# This provides an easy way for users to override the threads options
# if they are replacing Boost threads with something else for their platform.
@@ -163,16 +162,16 @@ if test x"$HAVE_PKG_QT_BASE" != x"no:missing QT"; then
AT_REQUIRE_QT_VERSION([4.0], [HAVE_PKG_QT_BASE="no:wrong QT version"], [])
fi
-# We seed QT_INCLUDE's cppflags with the ones qmake figured out
+# We seed QT_BASE's cppflags and libs with the ones qmake figured out
PKG_QT_BASE_CPPFLAGS="$PKG_QT_BASE_CPPFLAGS $QT_CPPFLAGS"
AX_PKG(QT_BASE, [], [$QT_LIBS], [QVector])
AX_PKG_ONE_OF(QT,
APPLE_QT, [AX_PKG_APPLE(QT, [GL QT_BASE], [])],
LINUX_QT,
- [AX_PKG(QT_OPENGL, [GL QT_BASE], [], [QtOpenGL])
- AX_PKG(QT_GUI, [QT_BASE], [], [QLabel])
- AX_PKG(QT_SQL, [QT_BASE], [], [QtSql])
+ [AX_PKG(QT_OPENGL, [QT_BASE], [], [QtOpenGL])
+ AX_PKG(QT_GUI, [QT_BASE], [], [QLabel])
+ AX_PKG(QT_SQL, [QT_BASE], [], [QtSql])
AX_GROUP_PKG(LINUX_QT, [QT_BASE QT_GUI QT_OPENGL QT_SQL])])
AX_PKG_ONE_OF(QWT,
@@ -191,13 +190,13 @@ if test x"$host_vendor" = "xapple"; then
AX_PKG(XERCESC, [], [-lxerces-c.28], [])
else
AX_PKG(GEOS, [], [-lgeos])
- AX_PKG(SUPERLU, [LAPACK], [-lsuperlu])
+ AX_PKG(SUPERLU, [LAPACK], [-lsuperlu])
AX_PKG(XERCESC, [], [-lxerces-c])
fi
dnl We need to link ISIS3RDPARTY against LAPACK because, on some systems,
dnl the ISIS compilation does not resolve certain BLAS symbols that its
-dnl dependent 3rd party libraries depend on (for whatever retarded reason).
+dnl dependent 3rd party libraries depend on (for whatever reason).
dnl Thus, we link against LAPACK here because it defines these missing
dnl BLAS symbols in the event that we need them.
AX_PKG(ISIS3RDPARTY, [SUPERLU LAPACK GSL QWT GEOS SPICE XERCESC], [])
@@ -251,6 +250,7 @@ AM_CONDITIONAL(MAKE_APP_CTXIMAGE, [test "$MAKE_APP_CTXIMAGE" = "yes"])
AM_CONDITIONAL(MAKE_APP_RMAX2CAHVOR, [test "$MAKE_APP_RMAX2CAHVOR" = "yes"])
AM_CONDITIONAL(MAKE_APP_RMAXADJUST, [test "$MAKE_APP_RMAXADJUST" = "yes"])
AM_CONDITIONAL(MAKE_APP_BUNDLEVIS, [test "$MAKE_APP_BUNDLEVIS" = "yes"])
+AM_CONDITIONAL(MAKE_APP_ISISADJUST, [test "$MAKE_APP_ISISADJUST" = "yes"])
AM_CONDITIONAL(MAKE_APP_RESULTS, [test "$MAKE_APP_RESULTS" = "yes"])
AM_CONDITIONAL(MAKE_APP_CUDATEST, [test "$MAKE_APP_CUDATEST" = "yes"])
AM_CONDITIONAL(MAKE_APP_RECONSTRUCT, [test "$MAKE_APP_RECONSTRUCT" = "yes"])
@@ -263,16 +263,19 @@ AM_CONDITIONAL(MAKE_APP_RECONSTRUCT, [test "$MAKE_APP_RECONSTRUCT" = "yes"])
ASP_CPPFLAGS="-I\${top_srcdir}/src $OTHER_CPPFLAGS"
ASP_LDFLAGS="$OTHER_LDFLAGS"
-if test "yes" = "$ENABLE_VERBOSE" ; then
- AC_MSG_NOTICE([using CPPFLAGS=$CPPFLAGS])
- AC_MSG_NOTICE([using ASP_CPPFLAGS=$ASP_CPPFLAGS])
- AC_MSG_NOTICE([using CFLAGS=$CFLAGS])
- AC_MSG_NOTICE([using CXXFLAGS=$CXXFLAGS])
- AC_MSG_NOTICE([using LDFLAGS=$LDFLAGS])
- AC_MSG_NOTICE([using ASP_LDFLAGS=$ASP_LDFLAGS])
- AC_MSG_NOTICE([using ASP_ENABLE_EXCEPTIONS=$ENABLE_EXCEPTIONS])
+# Do this last, to make sure it's not overridden
+if test x"$ENABLE_STRICT_ALIASING" = x"no"; then
+ CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
fi
+AX_LOG([using CPPFLAGS=$CPPFLAGS])
+AX_LOG([using ASP_CPPFLAGS=$ASP_CPPFLAGS])
+AX_LOG([using CFLAGS=$CFLAGS])
+AX_LOG([using CXXFLAGS=$CXXFLAGS])
+AX_LOG([using LDFLAGS=$LDFLAGS])
+AX_LOG([using ASP_LDFLAGS=$ASP_LDFLAGS])
+AX_LOG([using ASP_ENABLE_EXCEPTIONS=$ENABLE_EXCEPTIONS])
+
AC_SUBST(ASP_CPPFLAGS)
AC_SUBST(ASP_LDFLAGS)
View
89 m4/ax_app.m4
@@ -1,72 +1,69 @@
+dnl __BEGIN_LICENSE__
+dnl Copyright (C) 2006, 2007 United States Government as represented by
+dnl the Administrator of the National Aeronautics and Space Administration.
+dnl All Rights Reserved.
+dnl __END_LICENSE__
+
# Usage: AX_APP(<name>, <directory>, <default>, <required dependencies>[, <optional dependencies>])
AC_DEFUN([AX_APP],
[
- # Silently ignore modules that don't exist in this distribution
- if test -d $2 ; then
+ # Silently ignore apps that don't exist in this distribution
+ if test -d "$srcdir/$2" ; then
HAVE_PKG_$1_SRC=yes
+ if test -n "$ENABLE_APP_$1"; then
+ WANT_APP_$1="$ENABLE_APP_$1"
+ fi
+
AC_ARG_ENABLE([app-]m4_tolower([[$1]]),
AC_HELP_STRING([--enable-app-]m4_tolower([[$1]]), [enable the $1 app @<:@$3@:>@]),
- [ ENABLE_APP_$1=$enableval ],
+ [ ENABLE_APP_$1=$enableval; WANT_APP_$1=$enableval; ],
[ if test "x$ENABLE_APP_$1" = x; then ENABLE_APP_$1=`/bin/echo -n $3 | tr [A-Z] [a-z]` ; fi ]
)
AC_MSG_CHECKING([whether to build app $1])
ax_app_enable=$ENABLE_APP_$1
- if test "$ax_app_enable" != "yes" ; then
- AC_MSG_RESULT([no (disabled)])
- fi
-
- ax_libs=""
+ # Create a variable to store missing
+ AS_VAR_PUSHDEF([missing], [ax_app_]$1[_missing])
- # Check for required dependencies
- if test "$ax_app_enable" = "yes" ; then
- for ax_dependency in $4 ; do
- ax_dependency_have="HAVE_PKG_${ax_dependency}"
- if test x"${!ax_dependency_have}" = "xyes"; then
- ax_dep_libs="PKG_${ax_dependency}_LIBS"
- ax_libs="${ax_libs} ${!ax_dep_libs}"
- else
- AC_MSG_RESULT([no])
- AC_MSG_NOTICE([warning: unable to build requested app $1 (needs ${ax_dependency})!])
- ax_app_enable=no;
- break;
- fi
- done
- fi
-
- if test "$ax_app_enable" = "yes" ; then
- # Check for optional dependencies
- for ax_dependency in $5 ; do
- ax_dependency_have="HAVE_PKG_${ax_dependency}"
- if test x"${!ax_dependency_have}" = "xyes"; then
- ax_dep_libs="PKG_${ax_dependency}_LIBS"
- ax_libs="${ax_libs} ${!ax_dep_libs}"
- fi
- done
+ # Load args 5 and 6 as required deps, and capture missing deps in missing var.
+ # If missing is populated, bail out. Then load the optional deps
+ AS_IF([test x"$ax_app_enable" != "xyes"], [AC_MSG_RESULT([no (disabled)])],
+ [AX_LOAD_DEPS([$1], [$4], [missing]) dnl Load required deps
+ AS_IF([test -n "$missing"], [AC_MSG_RESULT([no ([missing] $missing)]); ax_app_enable=no],
+ [AX_LOAD_DEPS([$1], [$5]) dnl Load optional deps
+ APP_$1_CPPFLAGS="$PKG_$1_CPPFLAGS"
+ APP_$1_LIBS="$PKG_$1_LIBS"
+ AC_MSG_RESULT([yes])])])
- # Set up the variables
- APP_$1_LIBS=$ax_libs
- PKG_$1_LIBS=$ax_libs
- AC_MSG_RESULT([yes])
- fi
+ AS_VAR_POPDEF([missing])
else
HAVE_PKG_$1_SRC=no
ax_app_enable=no
APP_$1_LIBS=
PKG_$1_LIBS=
+ APP_$1_CPPFLAGS=
+ PKG_$1_CPPFLAGS=
fi
+ AC_SUBST(APP_$1_CPPFLAGS)
+ AC_SUBST(PKG_$1_CPPFLAGS)
AC_SUBST(APP_$1_LIBS)
AC_SUBST(PKG_$1_LIBS)
HAVE_PKG_$1=${ax_app_enable}
MAKE_APP_$1=${ax_app_enable}
AC_SUBST(MAKE_APP_$1)
+ if test -n "$WANT_APP_$1"; then
+ if test x"$MAKE_APP_$1" != x"$WANT_APP_$1"; then
+ AC_MSG_ERROR([You said ENABLE_APP_]$1[=$WANT_APP_]$1[, but I decided $MAKE_APP_]$1)
+ fi
+ fi
+
if test "${HAVE_PKG_$1}" = "yes" ; then
ax_have_pkg_bool=1
else
@@ -76,12 +73,16 @@ AC_DEFUN([AX_APP],
[$ax_have_pkg_bool],
[Define to 1 if the $1 app is available.])
- if test "$ENABLE_VERBOSE" = "yes" && test "$HAVE_PKG_$1_SRC" = "yes" ; then
- AC_MSG_NOTICE(MAKE_APP_$1 = ${MAKE_APP_$1})
- AC_MSG_NOTICE(HAVE_PKG_$1 = ${HAVE_PKG_$1})
- AC_MSG_NOTICE(APP_$1_LIBS = ${APP_$1_LIBS})
- AC_MSG_NOTICE(PKG_$1_LIBS = ${PKG_$1_LIBS})
+ if test "$HAVE_PKG_$1_SRC" = "yes" ; then
+ AX_LOG([MAKE_APP_]$1[ = $MAKE_APP_]$1)
+ AX_LOG([HAVE_PKG_]$1[ = $HAVE_PKG_]$1)
+ AX_LOG([APP_]$1[_CPPFLAGS = $APP_]$1[_CPPFLAGS])
+ AX_LOG([PKG_]$1[_CPPFLAGS = $PKG_]$1[_CPPFLAGS])
+ AX_LOG([APP_]$1[_LIBS = $APP_]$1[_LIBS])
+ AX_LOG([PKG_]$1[_LIBS = $PKG_]$1[_LIBS])
fi
- AM_CONDITIONAL([MAKE_APP_$1], [test "$MAKE_APP_$1" = "yes"])
+ # We're putting these in configure.ac manually by now, for
+ # backwards compatability with older versions of automake.
+ # AM_CONDITIONAL([MAKE_APP_$1], [test "$MAKE_APP_$1" = "yes"])
])
View
20 m4/ax_common_options.m4
@@ -14,15 +14,31 @@ AC_DEFUN([AX_COMMON_OPTIONS], [
AX_ARG_ENABLE(exceptions, yes, [am-yes cpp-bool], [enable the C++ exception mechanism])
AX_ARG_ENABLE(debug, no, [none], [generate debugging symbols])
AX_ARG_ENABLE(optimize, 3, [none], [compiler optimization level])
+AX_ARG_ENABLE(profile, no, [none], [generate profiling data])
AX_ARG_ENABLE(arch-libs, no, [none], [force /lib64 (=64) or /lib32 (=32) instead of /lib])
AX_ARG_ENABLE(proper-libs, yes, [none], [useful linker options])
+AX_ARG_ENABLE(ccache, no, [none], [try to use ccache, if available])
+AX_ARG_ENABLE(multi-arch, [], [none], [build multi-arch (universal) binaries])
##################################################
# Handle options
##################################################
+# Pass apple gcc options to build a universal binary
+for arch in $ENABLE_MULTI_ARCH; do
+ AX_CFLAGS="$AX_CFLAGS -arch $arch"
+done
+
+if test x"$ENABLE_CCACHE" = x"yes"; then
+ AC_CHECK_PROGS(CCACHE, ccache, false)
+ if test x"$CCACHE" != "xfalse"; then
+ CC="$CCACHE $CC"
+ CXX="$CCACHE $CXX"
+ fi
+fi
+
# Sometimes we have /foo/lib64 and /foo/lib confusion on 64-bit machines,
# so we'll use possibly both if one doesn't appear for a certain
# library path.
@@ -63,6 +79,10 @@ case "$ENABLE_OPTIMIZE" in
*) AC_MSG_ERROR([Unknown optimize option: "$ENABLE_OPTIMIZE"]) ;;
esac
+if test x"$ENABLE_PROFILE" = "xyes"; then
+ AX_TRY_CPPFLAGS([-pg], [AX_CFLAGS="$AX_CFLAGS -pg"], [AC_MSG_ERROR([Cannot enable profiling: compiler doesn't seem to support it])])
+fi
+
CFLAGS="$AX_CFLAGS $CFLAGS"
CXXFLAGS="$AX_CFLAGS $CXXFLAGS"
View
12 m4/ax_find_files.m4
@@ -16,18 +16,12 @@ AC_DEFUN([AX_FIND_FILES],
ax_find_files_passed=yes
for filename in $1; do
pathname="$path/$filename"
- if test "$ENABLE_VERBOSE" = "yes"; then
- AC_MSG_CHECKING([for ${pathname}])
- fi
+ AX_LOG([Find Files: Looking for ${filename} in ${path}])
ax_find_files_paths=`ls $pathname 2>/dev/null`
if test ! -z "$ax_find_files_paths" ; then
- if test "$ENABLE_VERBOSE" = "yes"; then
- AC_MSG_RESULT([found])
- fi
+ AX_LOG([Find Files: Found ${ax_find_files_paths}])
else
- if test "$ENABLE_VERBOSE" = "yes"; then
- AC_MSG_RESULT([not found])
- fi
+ AX_LOG([Fine Files: Not Found])
ax_find_files_passed=no
break
fi
View
118 m4/ax_module.m4
@@ -1,118 +0,0 @@
-dnl __BEGIN_LICENSE__
-dnl Copyright (C) 2006, 2007 United States Government as represented by
-dnl the Administrator of the National Aeronautics and Space Administration.
-dnl All Rights Reserved.
-dnl __END_LICENSE__
-
-
-# Usage: AX_MODULE(<name>, <directory>, <library>, <default>, <prerequisites>, <required dependencies>[, <optional dependencies>])
-AC_DEFUN([AX_MODULE],
-[
- # Silently ignore modules that don't exist in this distribution
- if test -d "$srcdir/$2" ; then
-
- HAVE_PKG_$1_SRC=yes
-
- AC_ARG_ENABLE([module-]m4_tolower([[$1]]),
- AC_HELP_STRING([--enable-module-]m4_tolower([[$1]]), [enable the $1 module @<:@$4@:>@]),
- [ ENABLE_MODULE_$1=$enableval ],
- [ if test x"$ENABLE_MODULE_$1" = x; then ENABLE_MODULE_$1=`/bin/echo -n $4 | tr [A-Z] [a-z]` ; fi ]
- )
-
- AC_MSG_CHECKING([whether to build module $1])
- ax_module_enable=$ENABLE_MODULE_$1
-
- if test "$ax_module_enable" != "yes" ; then
- AC_MSG_RESULT([no (disabled)])
- fi
-
- ax_libs=""
-
- # Check for prerequisites
- if test "$ax_module_enable" = "yes" ; then
- for ax_dependency in $5 ; do
- ax_dependency_have="HAVE_PKG_${ax_dependency}"
- if test x"${!ax_dependency_have}" = "xyes"; then
- ax_dep_libs="PKG_${ax_dependency}_LIBS"
- ax_libs="${ax_libs} ${!ax_dep_libs}"
- else
- AC_MSG_RESULT([no])
- AC_MSG_NOTICE([warning: unable to build requested module $1 (needs ${ax_dependency})!])
- ax_module_enable=no;
- break;
- fi
- done
- fi
-
- # Check for required dependencies
- if test "$ax_module_enable" = "yes" ; then
- for ax_dependency in $6 ; do
- ax_dependency_have="HAVE_PKG_${ax_dependency}"
- if test x"${!ax_dependency_have}" = "xyes"; then
- ax_dep_libs="PKG_${ax_dependency}_LIBS"
- ax_libs="${ax_libs} ${!ax_dep_libs}"
- else
- AC_MSG_RESULT([no])
- AC_MSG_NOTICE([warning: unable to build requested module $1 (needs ${ax_dependency})!])
- ax_module_enable=no;
- break;
- fi
- done
- fi
-
- if test "$ax_module_enable" = "yes" ; then
- # Check for optional dependencies
- for ax_dependency in $7 ; do
- ax_dependency_have="HAVE_PKG_${ax_dependency}"
- if test x"${!ax_dependency_have}" = "xyes"; then
- ax_dep_libs="PKG_${ax_dependency}_LIBS"
- ax_libs="${ax_libs} ${!ax_dep_libs}"
- fi
- done
-
- # Set up the variables
- MODULE_$1_LIBS=$ax_libs
-
- if test -z "$3"; then
- PKG_$1_LIBS="$ax_libs"
- else
- PKG_$1_LIBS="$ax_libs \$(top_builddir)/$2/$3"
- fi
-
- AC_MSG_RESULT([yes])
- fi
-
- else
- HAVE_PKG_$1_SRC=no
- ax_module_enable=no
- MODULE_$1_LIBS=
- PKG_$1_LIBS=
- fi
-
- AC_SUBST(MODULE_$1_LIBS)
- AC_SUBST(PKG_$1_LIBS)
-
- HAVE_PKG_$1=${ax_module_enable}
- MAKE_MODULE_$1=${ax_module_enable}
- AC_SUBST(MAKE_MODULE_$1)
-
- if test "${HAVE_PKG_$1}" = "yes" ; then
- ax_have_pkg_bool=1
- else
- ax_have_pkg_bool=0
- fi
- AC_DEFINE_UNQUOTED(HAVE_PKG_$1,
- [$ax_have_pkg_bool],
- [Define to 1 if the $1 module is available.])
-
- if test "$HAVE_PKG_$1_SRC" = "yes" ; then
- AX_LOG([MAKE_MODULE_]$1[ = $MAKE_MODULE_]$1)
- AX_LOG([HAVE_PKG_]$1[ = $HAVE_PKG_]$1)
- AX_LOG([MODULE_]$1[_LIBS = $MODULE_]$1[_LIBS])
- AX_LOG([PKG_]$1[_LIBS = $PKG_]$1[_LIBS])
- fi
-
- # We're putting these in configure.ac manually by now, for
- # backwards compatability with older versions of automake.
- # AM_CONDITIONAL([MAKE_MODULE_$1], [test "$MAKE_MODULE_$1" = "yes"])
-])
View
68 m4/ax_module_python.m4
@@ -1,68 +0,0 @@
-dnl __BEGIN_LICENSE__
-dnl Copyright (C) 2006, 2007 United States Government as represented by
-dnl the Administrator of the National Aeronautics and Space Administration.
-dnl All Rights Reserved.
-dnl __END_LICENSE__
-
-
-dnl usage: AX_MODULE_PYTHON(<directory>, <default>)
-AC_DEFUN([AX_MODULE_PYTHON],
-[
- # Silently ignore modules that don't exist in this distribution
- if test -d "$srcdir/$1" ; then
-
- HAVE_PKG_PYTHON_SRC=yes
-
- AC_ARG_ENABLE([module-python],
- AC_HELP_STRING([--enable-module-python], [enable the python bindings @<:@$2@:>@]),
- [ ENABLE_MODULE_PYTHON=$enableval ],
- [ if test x"$ENABLE_MODULE_PYTHON" = x""; then ENABLE_MODULE_PYTHON=`/bin/echo -n $2 | tr [A-Z] [a-z]` ; fi ]
- )
-
- AC_MSG_CHECKING([whether to build module Python])
- ax_module_enable=$ENABLE_MODULE_PYTHON
-
- if test "$ax_module_enable" != "yes" ; then
- AC_MSG_RESULT([no (disabled)])
- else
-
- ax_module_enable=no
-
- if test "$HAVE_PYTHON" != "yes"; then
- AC_MSG_RESULT([no (missing python)])
- elif test "$HAVE_SWIG" != "yes"; then
- AC_MSG_RESULT([no (missing swig)])
- else
- AC_MSG_RESULT([yes])
-
- AC_PYTHON_MODULE([numpy])
-
- AC_MSG_CHECKING([whether to build python bindings])
-
- if test "$HAVE_PYMOD_NUMPY" != "yes"; then
- AC_MSG_RESULT([no (missing numpy)])
- else
- AC_MSG_RESULT([yes])
- numpy_include=`$PYTHON -c 'import numpy; print numpy.get_include();'`
- NUMPY_CPPFLAGS="-I$numpy_include"
- ax_module_enable=yes
- fi
- fi
- fi
-
- else
- HAVE_PKG_PYTHON_SRC=no
- ax_module_enable=no
- fi
-
- AC_SUBST([NUMPY_CPPFLAGS])
-
- HAVE_PKG_PYTHON=${ax_module_enable}
- MAKE_MODULE_PYTHON=${ax_module_enable}
- AC_SUBST(MAKE_MODULE_PYTHON)
-
- if test "$HAVE_PKG_PYTHON_SRC" = "yes" ; then
- AX_LOG([MAKE_MODULE_PYTHON = $MAKE_MODULE_PYTHON])
- AX_LOG([HAVE_PKG_PYTHON = $HAVE_PKG_PYTHON])
- fi
-])
View
50 m4/ax_pkg.m4
@@ -47,27 +47,14 @@ AC_DEFUN([AX_PKG],
AX_LOG([OVERRIDE: ]$1[ libs (]$3[) with $PKG_]$1[_LIBS])
fi
- # Test for and inherit from dependencies
- for x in $2; do
- ax_pkg_have_dep=HAVE_PKG_${x}
- if test "${!ax_pkg_have_dep}" = "yes"; then
- ax_pkg_dep_cxxflags="PKG_${x}_CPPFLAGS"
- ax_pkg_dep_libs="PKG_${x}_LIBS"
- PKG_$1_CPPFLAGS="$PKG_$1_CPPFLAGS ${!ax_pkg_dep_cxxflags}"
- PKG_$1_LIBS="$PKG_$1_LIBS ${!ax_pkg_dep_libs}"
- unset ax_pkg_dep_cxxflags
- unset ax_pkg_dep_libs
- else
- unset PKG_$1_CPPFLAGS
- unset PKG_$1_LIBS
- HAVE_PKG_$1="no"
- break
- fi
- done
+ AS_VAR_PUSHDEF([missing], [ax_pkg_]$1[_missing])
+ AX_LOAD_DEPS([$1], [$2], [missing])
+ AS_IF([test -n "$missing"], [AC_MSG_RESULT([no ([missing] $missing)]); HAVE_PKG_$1=no])
+ AS_VAR_POPDEF([missing])
if test "x$HAVE_PKG_$1" = "xno" ; then
- AC_MSG_RESULT([no (needs $x)])
-
+ # printed the result already
+ :
# We skip the search if the user has been explicit about "yes"
elif test "x$HAVE_PKG_$1" = "xyes" ; then
AC_MSG_RESULT([yes (using user-supplied flags)])
@@ -86,17 +73,13 @@ AC_DEFUN([AX_PKG],
ax_pkg_old_libs="$LIBS"
ax_pkg_old_cppflags="$CPPFLAGS"
ax_pkg_old_ldflags="$LDFLAGS"
- ax_pkg_old_other_cppflags="$OTHER_CPPFLAGS"
- ax_pkg_old_other_ldflags="$OTHER_LDFLAGS"
LIBS="$PKG_$1_LIBS $LIBS"
for path in $PKG_PATHS_$1; do
AX_LOG([SEARCH: Checking $path for $PKG_]$1[_LIBS])
CPPFLAGS="$PKG_$1_CPPFLAGS $ax_pkg_old_cppflags"
LDFLAGS="$ax_pkg_old_ldflags"
- OTHER_CPPFLAGS="$ax_pkg_old_other_cppflags"
- OTHER_LDFLAGS="$ax_pkg_old_other_ldflags"
echo > conftest.h
for header in $4 ; do
@@ -150,22 +133,23 @@ AC_DEFUN([AX_PKG],
TRY_ADD_LDFLAGS=""
done
- # Append to CPPFLAGS, since that's the order we detected in
- PKG_$1_CPPFLAGS="$PKG_$1_CPPFLAGS $TRY_ADD_CPPFLAGS"
- # Prepend to LIBS, because dependencies need to be listed after all users
- PKG_$1_LIBS="$TRY_ADD_LDFLAGS $PKG_$1_LIBS"
+ if test "x$HAVE_PKG_$1" = "xyes" ; then
+ # Append to CPPFLAGS, since that's the order we detected in
+ PKG_$1_CPPFLAGS="$PKG_$1_CPPFLAGS $TRY_ADD_CPPFLAGS"
+ # Prepend to LIBS, because dependencies need to be listed after all users
+ PKG_$1_LIBS="$TRY_ADD_LDFLAGS $PKG_$1_LIBS"
- # But append the LDFLAGS here, so we don't break detection order
- OTHER_CPPFLAGS="$OTHER_CPPFLAGS $TRY_ADD_CPPFLAGS"
- OTHER_LDFLAGS="$OTHER_LDFLAGS $TRY_ADD_LDFLAGS"
+ # But append the LDFLAGS here, so we don't break detection order
+ OTHER_CPPFLAGS="$OTHER_CPPFLAGS $TRY_ADD_CPPFLAGS"
+ OTHER_LDFLAGS="$OTHER_LDFLAGS $TRY_ADD_LDFLAGS"
+ else
+ AC_MSG_RESULT([no (not found)])
+ fi
CPPFLAGS="$ax_pkg_old_cppflags"
LDFLAGS="$ax_pkg_old_ldflags"
LIBS="$ax_pkg_old_libs"
- if test "x$HAVE_PKG_$1" = "xno" ; then
- AC_MSG_RESULT([no (not found)])
- fi
fi
fi
View
32 m4/ax_pkg_boost.m4
@@ -8,26 +8,35 @@ dnl __END_LICENSE__
# Usage: AX_PKG_BOOST
AC_DEFUN([AX_PKG_BOOST],
[
+ AC_ARG_WITH(boost,
+ AC_HELP_STRING([--with-boost], [enable searching for the boost package @<:@auto@:>@]),
+ [ HAVE_PKG_BOOST=$withval ]
+ )
+
AC_MSG_CHECKING(for package BOOST)
AC_LANG_ASSERT(C++)
if test -n "${HAVE_PKG_BOOST}" && test "${HAVE_PKG_BOOST}" != "yes" && test "${HAVE_PKG_BOOST}" != "no" && test x"${HAVE_PKG_BOOST#no:}" == "x$HAVE_PKG_BOOST"; then
PKG_PATHS_BOOST="${HAVE_PKG_BOOST}"
- unset HAVE_PKG_BOOST
else
PKG_PATHS_BOOST="${PKG_PATHS}"
fi
# Skip testing if the user has overridden
- if test -z ${HAVE_PKG_BOOST}; then
+ if test "no" = "$HAVE_PKG_BOOST"; then
+ AC_MSG_RESULT([no (disabled by user)])
+ elif test x"${HAVE_PKG_BOOST#no:}" != "x$HAVE_PKG_BOOST"; then # read as: if has_prefix(HAVE_PKG_BOOST, "no:")
+ dnl { and } break AC_MSG_RESULT
+ reason="${HAVE_PKG_BOOST#no:}"
+ AC_MSG_RESULT([no ($reason)])
+ HAVE_PKG_BOOST=no
+ else
PKG_BOOST_CPPFLAGS=
PKG_BOOST_LIBS=
HAVE_PKG_BOOST=no
- ax_pkg_old_other_cppflags="$OTHER_CPPFLAGS"
- ax_pkg_old_other_ldflags="$OTHER_LDFLAGS"
ax_pkg_old_cppflags="$CPPFLAGS"
ax_pkg_old_ldflags="$LDFLAGS"
@@ -63,11 +72,8 @@ AC_DEFUN([AX_PKG_BOOST],
PKG_BOOST_LIBDIR="${ax_boost_base_path}/${AX_OTHER_LIBDIR}"
fi
- OTHER_CPPFLAGS="-I${PKG_BOOST_INCDIR} $OTHER_CPPFLAGS"
- OTHER_LDFLAGS="-L${PKG_BOOST_LIBDIR} $OTHER_LDFLAGS"
-
- CPPFLAGS="$ax_pkg_old_cppflags $OTHER_CPPFLAGS"
- LDFLAGS="$ax_pkg_old_ldflags $OTHER_LDFLAGS"
+ CPPFLAGS="$ax_pkg_old_cppflags -I${PKG_BOOST_INCDIR}"
+ LDFLAGS="$ax_pkg_old_ldflags -L${PKG_BOOST_LIBDIR}"
echo "#include <boost/version.hpp>" > conftest.h
@@ -78,8 +84,6 @@ AC_DEFUN([AX_PKG_BOOST],
[ HAVE_PKG_BOOST=yes; break; ])
HAVE_PKG_BOOST="no"
- OTHER_CPPFLAGS="$ax_pkg_old_other_cppflags"
- OTHER_LDFLAGS="$ax_pkg_old_other_ldflags"
unset PKG_BOOST_INCDIR
unset PKG_BOOST_LIBDIR
@@ -90,14 +94,16 @@ AC_DEFUN([AX_PKG_BOOST],
CPPFLAGS="$ax_pkg_old_cppflags"
LDFLAGS="$ax_pkg_old_ldflags"
- fi
+ AC_MSG_RESULT([$HAVE_PKG_BOOST])
- AC_MSG_RESULT([$HAVE_PKG_BOOST])
+ fi
if test "${HAVE_PKG_BOOST}" = "yes" ; then
ax_have_pkg_bool=1
PKG_BOOST_CPPFLAGS="-I${PKG_BOOST_INCDIR}"
PKG_BOOST_LIBS="-L${PKG_BOOST_LIBDIR}"
+ OTHER_CPPFLAGS="${OTHER_CPPFLAGS} ${PKG_BOOST_CPPFLAGS}"
+ OTHER_LDFLAGS="${OTHER_LDFLAGS} ${PKG_BOOST_LIBS}"
else
ax_have_pkg_bool=0
fi
View
89 m4/ax_pkg_boost_lib.m4
@@ -19,13 +19,10 @@ dnl Boost with the string in said variable somewhere inside the Boost
dnl library names, but after the initial name of the library (specified
dnl as the second parameter to this function). A blank value will give
dnl normal behavior.
-# Usage: AX_PKG_BOOST_LIB(<name>, <libraries>, <header>)
+# Usage: AX_PKG_BOOST_LIB(<name>, <libraries>, <header>, [<ldflags>])
AC_DEFUN([AX_PKG_BOOST_LIB],
[
AC_MSG_CHECKING(for package BOOST_$1)
- if test "$ENABLE_VERBOSE" = "yes"; then
- AC_MSG_RESULT([])
- fi
AC_LANG_ASSERT(C++)
@@ -45,7 +42,7 @@ AC_DEFUN([AX_PKG_BOOST_LIB],
if test ! -z "$ax_find_files_path" ; then
HAVE_PKG_BOOST_$1="yes"
ax_pkg_boost_lib=`echo $2 | sed "s/\(-l[[^[:space:]]]*\)/\1${BOOST_LIBRARIES_SUFFIX}/g"`
- PKG_BOOST_$1_LIBS="$PKG_BOOST_LIBS $ax_pkg_boost_lib"
+ PKG_BOOST_$1_LIBS="$PKG_BOOST_LIBS $ax_pkg_boost_lib $4"
else
# Check for required libraries with some suffix. We have to check
# for both a suffix before ${BOOST_LIBRARIES_SUFFIX} (pre-suffix)
@@ -54,7 +51,7 @@ AC_DEFUN([AX_PKG_BOOST_LIB],
# Extremely annoying.
ax_pkg_boost_lib=`echo $2 | awk '{print [$]1}' | sed 's/-l\([[^[:space:]-]]*\).*/lib\1/g'`
- ax_pkg_boost_file=`ls ${PKG_BOOST_LIBDIR}/${ax_pkg_boost_lib}-*${BOOST_LIBRARIES_SUFFIX}* | head -n 1 | sed "s,^${PKG_BOOST_LIBDIR}/\(.*\),\1,"`
+ ax_pkg_boost_file=`ls ${PKG_BOOST_LIBDIR}/${ax_pkg_boost_lib}-*${BOOST_LIBRARIES_SUFFIX}${BOOST_LIBRARIES_SUFFIX:+*} | head -n 1 | sed "s,^${PKG_BOOST_LIBDIR}/\(.*\),\1,"`
# The pre-suffix.
ax_pkg_boost_presuffix=`echo ${ax_pkg_boost_file} | sed "s/${ax_pkg_boost_lib}\([[^.]]*\)${BOOST_LIBRARIES_SUFFIX}.*/\1/"`
@@ -66,68 +63,34 @@ AC_DEFUN([AX_PKG_BOOST_LIB],
if test ! -z $ax_find_files_path ; then
HAVE_PKG_BOOST_$1="yes"
PKG_BOOST_$1_LIBS=`echo $2 | sed "s/[[^ ]]*/&${ax_pkg_boost_presuffix}${BOOST_LIBRARIES_SUFFIX}${ax_pkg_boost_postsuffx}/g"`
- PKG_BOOST_$1_LIBS="$PKG_BOOST_LIBS $PKG_BOOST_$1_LIBS"
+ PKG_BOOST_$1_LIBS="$PKG_BOOST_LIBS $PKG_BOOST_$1_LIBS $4"
fi
fi
fi
fi
fi
- ax_pkg_old_other_cppflags=$OTHER_CPPFLAGS
- ax_pkg_old_other_ldflags=$OTHER_LDFLAGS
- ax_pkg_old_cppflags=$CPPFLAGS
- ax_pkg_old_ldflags=$LDFLAGS
- ax_pkg_old_libs=$LIBS
- while true ; do
- echo > conftest.h
- for header in $3 ; do
- echo "#include <$header>" >> conftest.h
- done
- # First see if the current paths are sufficient
- if test "x${ENABLE_VERBOSE}" = "xyes" ; then
- AC_MSG_CHECKING([whether current paths are sufficient...])
- fi
- CPPFLAGS="$ax_pkg_old_cppflags $OTHER_CPPFLAGS"
- LDFLAGS="$ax_pkg_old_ldflags $OTHER_LDFLAGS"
- LIBS="$PKG_BOOST_$1_LIBS $ax_pkg_old_libs"
- AC_LINK_IFELSE( AC_LANG_PROGRAM([#include "conftest.h"],[]), [ax_result=yes], [ax_result=no] )
- if test "x${ENABLE_VERBOSE}" = "xyes" ; then
- AC_MSG_RESULT([$ax_result])
- fi
- if test "$ax_result" = "yes" ; then break ; fi
- # Try it with just the include path
- if test "x${ENABLE_VERBOSE}" = "xyes" ; then
- AC_MSG_CHECKING([whether adding the include path is sufficient...])
- fi
- OTHER_CPPFLAGS="-I${PKG_BOOST_INCDIR} $OTHER_CPPFLAGS"
- CPPFLAGS="$ax_pkg_old_cppflags $OTHER_CPPFLAGS"
- AC_LINK_IFELSE( AC_LANG_PROGRAM([#include "conftest.h"],[]), [ax_result=yes], [ax_result=no] )
- if test "x${ENABLE_VERBOSE}" = "xyes" ; then
- AC_MSG_RESULT([$ax_result])
- fi
- if test "$ax_result" = "yes" ; then break ; fi
- # Finally, try it with the linker path
- if test "x${ENABLE_VERBOSE}" = "xyes" ; then
- AC_MSG_CHECKING([whether adding the include and linker paths works...])
- fi
- OTHER_LDFLAGS="-L${PKG_BOOST_LIBDIR} $OTHER_LDFLAGS"
- LDFLAGS="$ax_pkg_old_ldflags $OTHER_LDFLAGS"
- AC_LINK_IFELSE( AC_LANG_PROGRAM([#include "conftest.h"],[]), [ax_result=yes], [ax_result=no] )
- if test "x${ENABLE_VERBOSE}" = "xyes" ; then
- AC_MSG_RESULT([$ax_result])
- fi
- if test "$ax_result" = "yes" ; then break ; fi
- # The detected version of boost seems to be invalid!
- HAVE_PKG_BOOST_$1="no"
- OTHER_CPPFLAGS="$ax_pkg_old_other_cppflags"
- OTHER_LDFLAGS="$ax_pkg_old_other_ldflags"
- break
+ # Check to make sure we found a working one
+ ax_pkg_old_cppflags="$CPPFLAGS"
+ ax_pkg_old_libs="$LIBS"
+
+ echo > conftest.h
+ for header in $3 ; do
+ echo "#include <$header>" >> conftest.h
done
+ CPPFLAGS="$CPPFLAGS $PKG_BOOST_CPPFLAGS"
+ LIBS="$LIBS $PKG_BOOST_$1_LIBS"
+
+ AC_LINK_IFELSE(
+ AC_LANG_PROGRAM([#include "conftest.h"],[]),
+ [ HAVE_PKG_BOOST_$1=yes ], [ HAVE_PKG_BOOST_$1=no ] )
+
CPPFLAGS="$ax_pkg_old_cppflags"
- LDFLAGS="$ax_pkg_old_ldflags"
LIBS="$ax_pkg_old_libs"
+ AC_MSG_RESULT([$HAVE_PKG_BOOST_]$1)
+
if test "${HAVE_PKG_BOOST_$1}" = "yes" ; then
ax_have_pkg_bool=1
else
@@ -140,12 +103,8 @@ AC_DEFUN([AX_PKG_BOOST_LIB],
AC_SUBST(HAVE_PKG_BOOST_$1)
AC_SUBST(PKG_BOOST_$1_LIBS)
- if test "$ENABLE_VERBOSE" = "yes"; then
- AC_MSG_NOTICE([HAVE_PKG_BOOST_$1 = ${HAVE_PKG_BOOST_$1}])
- AC_MSG_NOTICE([PKG_BOOST_$1_LIBS= $PKG_BOOST_$1_LIBS])
- AC_MSG_NOTICE([CPPFLAGS= $CPPFLAGS])
- AC_MSG_NOTICE([LDFLAGS= $LDFLAGS])
- else
- AC_MSG_RESULT([${HAVE_PKG_BOOST_$1}])
- fi
+ AX_LOG([HAVE_PKG_BOOST_$1=${HAVE_PKG_BOOST_$1}])
+ AX_LOG([PKG_BOOST_$1_LIBS=$PKG_BOOST_$1_LIBS])
+ AX_LOG([CPPFLAGS=$CPPFLAGS])
+ AX_LOG([LDFLAGS=$LDFLAGS])
])
View
32 m4/ax_pkg_pthreads.m4
@@ -9,9 +9,6 @@ dnl Usage: AX_PKG_PTHREADS
AC_DEFUN([AX_PKG_PTHREADS],
[
AC_MSG_CHECKING(for package PTHREADS)
- if test "$ENABLE_VERBOSE" = "yes"; then
- AC_MSG_RESULT([])
- fi
AC_LANG_PUSH(C)
HAVE_PKG_PTHREADS=no
@@ -37,21 +34,13 @@ AC_DEFUN([AX_PKG_PTHREADS],
CFLAGS="$CFLAGS $PKG_PTHREADS_CPPFLAGS"
LDFLAGS="$PKG_PTHREADS_LDFLAGS $LDFLAGS"
- if test "$ENABLE_VERBOSE" = "yes" ; then
- AC_MSG_CHECKING([whether pthreads work with flags: \"$CFLAGS\" : \"$LDFLAGS\"])
- fi
-
AC_TRY_LINK([#include <pthread.h>],
[pthread_t th; pthread_create(0,0,0,0);],
[HAVE_PKG_PTHREADS=yes])
CFLAGS="$ax_pkg_pthreads_save_CFLAGS"
LDFLAGS="$ax_pkg_pthreads_save_LDFLAGS"
- if test "$ENABLE_VERBOSE" = "yes" ; then
- AC_MSG_RESULT($HAVE_PKG_PTHREADS)
- fi
-
if test "$HAVE_PKG_PTHREADS" = "yes"; then
break 2;
fi
@@ -66,6 +55,8 @@ AC_DEFUN([AX_PKG_PTHREADS],
PKG_PTHREADS_LIBS="$PKG_PTHREADS_LDFLAGS"
fi
+ AC_MSG_RESULT([${HAVE_PKG_PTHREADS}])
+
if test "${HAVE_PKG_PTHREADS}" = "yes" ; then
ax_have_pkg_bool=1
else
@@ -79,15 +70,12 @@ AC_DEFUN([AX_PKG_PTHREADS],
AC_SUBST(PKG_PTHREADS_CPPFLAGS)
AC_SUBST(PKG_PTHREADS_LIBS)
- if test "$ENABLE_VERBOSE" = "yes"; then
- AC_MSG_NOTICE([HAVE_PKG_PTHREADS = ${HAVE_PKG_PTHREADS}])
- AC_MSG_NOTICE([PKG_PTHREADS_CPPFLAGS = ${PKG_PTHREADS_CPPFLAGS}])
- AC_MSG_NOTICE([PKG_PTHREADS_LIBS = ${PKG_PTHREADS_LIBS}])
- AC_MSG_NOTICE([CFLAGS= $CFLAGS])
- AC_MSG_NOTICE([CXXFLAGS= $CXXFLAGS])
- AC_MSG_NOTICE([CPPFLAGS= $CPPFLAGS])
- AC_MSG_NOTICE([LDFLAGS= $LDFLAGS])
- else
- AC_MSG_RESULT([${HAVE_PKG_PTHREADS}])
- fi
+ AX_LOG([HAVE_PKG_PTHREADS=${HAVE_PKG_PTHREADS}])
+ AX_LOG([PKG_PTHREADS_CPPFLAGS=${PKG_PTHREADS_CPPFLAGS}])
+ AX_LOG([PKG_PTHREADS_LIBS=${PKG_PTHREADS_LIBS}])
+ AX_LOG([CFLAGS=$CFLAGS])
+ AX_LOG([CXXFLAGS=$CXXFLAGS])
+ AX_LOG([CPPFLAGS=$CPPFLAGS])
+ AX_LOG([LDFLAGS=$LDFLAGS])
+
])

0 comments on commit 545de6e

Please sign in to comment.
Something went wrong with that request. Please try again.