1 |
# Process this file with autoconf to produce a configure script. |
# Process this file with autoconf to produce a configure script. |
2 |
AC_INIT(Qsampler, 0.2.3.6, rncbc@rncbc.org, qsampler) |
AC_INIT(Qsampler, 0.2.3.8, rncbc@rncbc.org, qsampler) |
3 |
|
|
4 |
AC_CONFIG_SRCDIR(src/qsampler.cpp) |
AC_CONFIG_SRCDIR(src/qsampler.cpp) |
5 |
AC_CONFIG_HEADERS(src/config.h) |
AC_CONFIG_HEADERS(src/config.h) |
62 |
|
|
63 |
|
|
64 |
# Standard installation base dirs. |
# Standard installation base dirs. |
65 |
ac_with_paths="/usr /usr/local" |
if test "$cross_compiling" = yes; then |
66 |
|
ac_with_paths="" |
67 |
|
else |
68 |
|
ac_with_paths="/usr /usr/local" |
69 |
|
fi |
70 |
|
|
71 |
# Set for alternate Qt installation dir. |
# Set for alternate Qt installation dir. |
72 |
AC_ARG_WITH(qt, |
AC_ARG_WITH(qt, |
357 |
PKG_CHECK_MODULES(LIBGIG, gig >= 3.3.0, [ac_libgig="yes"], [ac_libgig="no"]) |
PKG_CHECK_MODULES(LIBGIG, gig >= 3.3.0, [ac_libgig="yes"], [ac_libgig="no"]) |
358 |
AC_SUBST(LIBGIG_CFLAGS) |
AC_SUBST(LIBGIG_CFLAGS) |
359 |
AC_SUBST(LIBGIG_LIBS) |
AC_SUBST(LIBGIG_LIBS) |
360 |
ac_cflags="$ac_libs $LIBGIG_CFLAGS" |
ac_cflags="$ac_cflags $LIBGIG_CFLAGS" |
361 |
ac_libs="$ac_libs $LIBGIG_LIBS" |
ac_libs="$ac_libs $LIBGIG_LIBS" |
362 |
if test "x$ac_libgig" = "xyes"; then |
if test "x$ac_libgig" = "xyes"; then |
363 |
AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.]) |
AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.]) |