"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.in" between
vfplot-1.0.14.tar.gz and vfplot-1.0.15.tar.gz

About: vfplot is a program for plotting two-dimensional vector fields (supporting Gerris) fluid flows simulation files).

configure.in  (vfplot-1.0.14):configure.in  (vfplot-1.0.15)
dnl autoconf configure.in dnl autoconf configure.in
dnl J.J.Green 2007, 2016 dnl J.J.Green 2007, 2016
AC_INIT(vfplot, 1.0.14, j.j.green@gmx.co.uk) AC_INIT(vfplot, 1.0.15, j.j.green@gmx.co.uk)
dnl defaults dnl defaults
opt_enable_pthread=yes opt_enable_pthread=yes
opt_enable_pthread_extra=no
opt_enable_matio=no opt_enable_matio=no
opt_enable_gerris=no opt_enable_gerris=no
opt_enable_dmalloc=no opt_enable_dmalloc=no
opt_enable_profile=no opt_enable_profile=no
opt_enable_tests=no opt_enable_tests=no
opt_enable_coverage=no opt_enable_coverage=no
AC_ARG_ENABLE(pthread, AC_ARG_ENABLE(pthread,
AC_HELP_STRING([--enable-pthread], AC_HELP_STRING([--enable-pthread],
[use POSIX threads (default is yes)]), [use POSIX threads (default is yes)]),
[opt_enable_pthread=$enableval]) [opt_enable_pthread=$enableval])
AC_ARG_ENABLE(pthread-extra,
AC_HELP_STRING([--enable-pthread-extra],
[use pthreads extra, for OSX (default is no)]),
[opt_enable_pthread_extra=$enableval])
AC_ARG_ENABLE(gerris, AC_ARG_ENABLE(gerris,
AC_HELP_STRING([--enable-gerris], AC_HELP_STRING([--enable-gerris],
[support reading gerris flow simulation files (default is no)]), [support reading gerris flow simulation files (default is no)]),
[opt_enable_gerris=$enableval]) [opt_enable_gerris=$enableval])
AC_ARG_ENABLE(matio, AC_ARG_ENABLE(matio,
AC_HELP_STRING([--enable-matio], AC_HELP_STRING([--enable-matio],
[support reading Matlab v6 binary files (default is no)]), [support reading Matlab v6 binary files (default is no)]),
[opt_enable_matio=$enableval]) [opt_enable_matio=$enableval])
skipping to change at line 108 skipping to change at line 114
if test $opt_enable_matio = yes; then if test $opt_enable_matio = yes; then
AC_CHECK_HEADER(matio.h, AC_CHECK_HEADER(matio.h,
[AC_DEFINE(HAVE_MATIO_H, 1, [Define to 1 if you have <matio.h>])]) [AC_DEFINE(HAVE_MATIO_H, 1, [Define to 1 if you have <matio.h>])])
AC_CHECK_LIB(matio, Read5) AC_CHECK_LIB(matio, Read5)
fi fi
dnl | tests option (implies gerris) dnl | tests option (implies gerris)
if test $opt_enable_tests = yes; then if test $opt_enable_tests = yes; then
opt_enable_gerris='yes' if test $opt_enable_gerris = no; then
AC_WARN([Some acceptance tests fail without Gerris support])
fi
AC_PATH_PROG(GS, gs) AC_PATH_PROG(GS, gs)
AC_CHECK_LIB(cunit, CU_add_test) AC_CHECK_LIB(cunit, CU_add_test)
AC_SUBST(WITH_UNIT, 1) AC_SUBST(WITH_UNIT, 1)
AC_MSG_CHECKING([CUnit version]) AC_MSG_CHECKING([CUnit version])
AC_COMPILE_IFELSE([ AC_COMPILE_IFELSE([
AC_LANG_SOURCE([[ AC_LANG_SOURCE([[
#include <CUnit/CUnit.h> #include <CUnit/CUnit.h>
int main(void) { int main(void) {
CU_SuiteInfo suite; CU_SuiteInfo suite;
suite.pSetUpFunc = NULL; suite.pSetUpFunc = NULL;
return 0; } return 0; }
]]) ]])
], ],
skipping to change at line 146 skipping to change at line 153
dnl | gerris option dnl | gerris option
if test $opt_enable_gerris = yes; then if test $opt_enable_gerris = yes; then
CFLAGS="$CFLAGS `pkg-config --cflags gerris2D`" CFLAGS="$CFLAGS `pkg-config --cflags gerris2D`"
CPPFLAGS="$CPPLAGS `pkg-config --cflags gerris2D`" CPPFLAGS="$CPPLAGS `pkg-config --cflags gerris2D`"
AC_CHECK_HEADER(glib.h) AC_CHECK_HEADER(glib.h)
AC_CHECK_HEADER(gmodule.h) AC_CHECK_HEADER(gmodule.h)
AC_CHECK_HEADER(gts.h) AC_CHECK_HEADER(gts.h)
AC_CHECK_HEADER(gfs.h, AC_CHECK_HEADER(gfs.h,
[AC_DEFINE(HAVE_GFS_H, 1, [Define to 1 if you have <gfs.h>]) [AC_DEFINE(HAVE_GFS_H, 1, [Define to 1 if you have <gfs.h>])
AC_SUBST(WITH_GFS, [yes], [no])]) AC_SUBST(WITH_GFS, 1)])
LDFLAGS="$LDFLAGS -pthread -Wl,--export-dynamic" LDFLAGS="$LDFLAGS -pthread -Wl,-export-dynamic"
AC_CHECK_LIB(glib-2.0, g_allocator_new) AC_CHECK_LIB(glib-2.0, g_allocator_new)
AC_CHECK_LIB(gmodule-2.0, g_module_open) AC_CHECK_LIB(gmodule-2.0, g_module_open)
AC_CHECK_LIB(gts, gts_object_new) AC_CHECK_LIB(gts, gts_object_new)
AC_CHECK_LIB(gfs2D, gfs_simulation_read) AC_CHECK_LIB(gfs2D, gfs_simulation_read)
fi fi
dnl | pthread-extra option
if test $opt_enable_pthread_extra = yes; then
AC_SUBST(WITH_PTHREAD_EXTRA, 1)
AC_DEFINE(WITH_PTHREAD_EXTRA, 1,
[Define to 1 to use pthread extra, for OSX])
fi
dnl | profile option dnl | profile option
if test $opt_enable_profile = yes; then if test $opt_enable_profile = yes; then
AC_SUBST(GCC_PROFILING_CFLAGS, ["-pg -fno-omit-frame-pointer"]) AC_SUBST(GCC_PROFILING_CFLAGS, ["-pg -fno-omit-frame-pointer"])
AC_PATH_PROG(GPROF, gprof) AC_PATH_PROG(GPROF, gprof)
fi fi
dnl | coverage option dnl | coverage option
if test $opt_enable_coverage = yes; then if test $opt_enable_coverage = yes; then
 End of changes. 7 change blocks. 
5 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)