diff options
| author | Marc G. Fournier | 1997-04-03 21:26:36 +0000 |
|---|---|---|
| committer | Marc G. Fournier | 1997-04-03 21:26:36 +0000 |
| commit | e3649e9e5288e34833cd613fe5a058204d3261b6 (patch) | |
| tree | 17f2ea95a5882206e7e5c932bbd1276556042b72 /src/configure.in | |
| parent | 4bc578eb838754b14b62699929a0ab30377bf71a (diff) | |
Various improvements to reduce questions :)
Remove USE_LOCALE from Makefile.global.in
Add USE_LOCALE to build/configure/config.h
Add check for BUILDRUN in configure to make sure that build is run before
configure
Diffstat (limited to 'src/configure.in')
| -rw-r--r-- | src/configure.in | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in index c43e26b0704..838f313b4ed 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,7 +1,14 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(backend/access/common/heaptuple.c) -AC_CANONICAL_HOST + +if test "$BUILDRUN" != "true" +then + echo "You must run the build script, which will auto-run configure" + exit +fi TR="tr" + +AC_CANONICAL_HOST case "$host_os" in solaris*) case "$host_cpu" in @@ -42,6 +49,7 @@ AC_SUBST(TR) AC_SUBST(LDFLAGS) AC_SUBST(CPPFLAGS) + AC_CONFIG_HEADER(include/config.h) dnl Checks for programs. @@ -83,6 +91,12 @@ AC_SUBST(INSTLOPTS) AC_SUBST(INSTL_LIB_OPTS) AC_SUBST(INSTL_EXE_OPTS) +if test "$USE_LOCALE" = "yes" +then + AC_MSG_RESULT(setting USE_LOCALE) + AC_DEFINE(USE_LOCALE) +fi + dnl Check the option to echo to inhibit newlines. ECHO_N_OUT=`echo -n "" | wc -c` ECHO_C_OUT=`echo "\c" | wc -c` |
