Last change
on this file since 25841 was 24621, 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.
|
---|
3 | AC_PREREQ(2.59)
|
---|
4 | AC_INIT([txt2dbl], [1.0], [[email protected]])
|
---|
5 | AM_INIT_AUTOMAKE
|
---|
6 | AC_CANONICAL_HOST
|
---|
7 |
|
---|
8 | # Checks for programs.
|
---|
9 | AC_PROG_CXX([g++])
|
---|
10 |
|
---|
11 | # Checks for libraries.
|
---|
12 | AC_CHECK_LIB([crypt],[encrypt])
|
---|
13 |
|
---|
14 | AC_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'])
|
---|
18 | AC_SUBST([GDBM_CFLAGS])
|
---|
19 |
|
---|
20 | AC_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'])
|
---|
24 | AC_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
|
---|
33 | AC_CONFIG_FILES([Makefile])
|
---|
34 | AC_OUTPUT |
---|
Note:
See
TracBrowser
for help on using the repository browser.