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

Last change on this file since 30294 was 30294, checked in by jmt12, 9 years ago

Typo would have prevented the generated configure script from working properly if --with-gdbm-lib-path was actually provided. Kinda obsolete now as I've moved this logic into the Makefile itself.

File size: 983 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 -lgdbm"],
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.