diff options
author | Werner Koch <wk@gnupg.org> | 1997-11-18 15:06:00 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1997-11-18 15:06:00 +0100 |
commit | 5393dd53c5e06f0458949217317601b2eaed8350 (patch) | |
tree | c4b8d021851c32a611165c5fc215ad88604b5a94 /configure.in | |
parent | New repository initialized by cvs2svn. (diff) | |
download | gnupg2-5393dd53c5e06f0458949217317601b2eaed8350.tar.xz gnupg2-5393dd53c5e06f0458949217317601b2eaed8350.zip |
initially checkin
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/configure.in b/configure.in new file mode 100644 index 000000000..d6eeab10b --- /dev/null +++ b/configure.in @@ -0,0 +1,54 @@ +dnl +dnl Configure template for G10 +dnl +dnl (Process this file with autoconf to produce a configure script.) + +AC_INIT(g10/g10.c) +AC_CONFIG_AUX_DIR(scripts) +AC_CONFIG_HEADER(config.h) + +VERSION=0.0.0 +PACKAGE=g10 +AC_SUBST(VERSION) +AC_SUBST(PACKAGE) +AC_DEFINE_UNQUOTED(VERSION, "$VERSION") +AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE") + +AC_ARG_ENABLE(m-debug, +[ --enable-m-debug Enable debugging of memory allocation]) +if test "$enableval" = y || test "$enableval" = yes; then + AC_DEFINE(M_DEBUG) + CFLAGS="-g" +fi + +dnl Checks for programs. + +AC_PROG_MAKE_SET +AC_PROG_RANLIB +AC_PROG_INSTALL +AC_PROG_CC +AC_PROG_CPP + +AC_ARG_PROGRAM + + +dnl Checks for libraries. + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS(unistd.h) + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_C_INLINE +AC_TYPE_SIZE_T + +dnl Checks for library functions. +AC_FUNC_VPRINTF +AC_CHECK_FUNCS(strerror strtol strtoul) + +AC_OUTPUT([ Makefile util/Makefile mpi/Makefile cipher/Makefile \ + g10/Makefile tools/Makefile ], + [echo timestamp > stamp-h ]) + + |