source: gs2-extensions/parallel-building/trunk/src/src/txt2dbl-src/configure.ac@ 24618

Last change on this file since 24618 was 24618, checked in by jmt12, 13 years ago

Adding the version of GDBM txt2db with simply file locking so as to support parallel building (albeit slowly)

File size: 989 bytes
Line 
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3AC_PREREQ(2.59)
4AC_INIT([txt2dbl], [1.0], [[email protected]])
5AM_INIT_AUTOMAKE
6AC_CANONICAL_HOST
7
8# Checks for programs.
9AC_PROG_CXX([g++])
10
11# Checks for libraries.
12AC_CHECK_LIB([crypt],[encrypt])
13
14AC_ARG_WITH([gdbm-include-path],
15 [AS_HELP_STRING([--with-gdbm-include-path],[location of the GDBM headers])],
16 [GDBM_CFLAGS="-I$withval"],
17 [GDBM_CFLAGS='-I../../../../common-src/packages/gdbm/include'])
18AC_SUBST([GDBM_CFLAGS])
19
20AC_ARG_WITH([gdbm-lib-path],
21 [AS_HELP_STRING([--with-gdbm-lib-path], [location of the GDBM libraries])],
22 [GDBM_LIBS="-L$withval -lmysqlclient"],
23 [GDBM_LIBS='-L../../../../common-src/packages/gdbm/lib -lgdbm'])
24AC_SUBST([GDBM_LIBS])
25
26# Checks for header files.
27
28# Checks for typedefs, structures, and compiler characteristics.
29
30# Checks for library functions.
31
32# Completion
33AC_CONFIG_FILES([Makefile])
34AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.