Very old versions for history.
[opsoft_archive.git] / silentbob / silent_bob-1.2 / configure.in
blobb8bff243380baefece5d7278fef7e4876f7d8aef
1 AC_INIT(configure.in)
3 AM_CONFIG_HEADER(config.h)
4 AM_INIT_AUTOMAKE(silent_bob, 1.1)
6 AC_LANG_CPLUSPLUS
7 AC_PROG_CXX
8 AM_PROG_LIBTOOL
10 if test $prefix = "NONE"; then
11     prefix=$ac_default_prefix
13 AC_DEFINE_UNQUOTED(PREFIX, "$prefix", [Install prefix])
14 eval DATA_DIR=`echo $datadir`
15 AC_DEFINE_UNQUOTED(CONFIG_DATA_DIR, "$DATA_DIR", [Data dir path])
16     
17 AC_CHECK_LIB(gclib_c, gc_realloc, HAVE_GCLIB="yes")
18 if test "x$HAVE_GCLIB" = "x"; then
19         AC_MSG_ERROR([To build SilentBob you need to install GCLib first  (http://sourceforge.net/projects/silentbob)])
21 AC_OUTPUT(Makefile data/Makefile src/sblib/Makefile src/Makefile src/plugins/Makefile)