1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/configure.ac Mon Jan 29 20:22:01 2007 +0000
1.3 @@ -0,0 +1,45 @@
1.4 +# -*- Autoconf -*-
1.5 +# Process this file with autoconf to produce a configure script.
1.6 +# Copyright (C) 2007 J. Ali Harlow
1.7 +# Minimal Hack may be freely redistributed. See license for details.
1.8 +
1.9 +AC_INIT([minhack], [0.1], [ali@juiblex.co.uk])
1.10 +AC_PREREQ(2.59)
1.11 +AC_REVISION($Id: configure.ac,v 1.2 2005/01/22 18:39:17 j_ali Exp $)
1.12 +AC_CONFIG_AUX_DIR([config])
1.13 +AC_CONFIG_SRCDIR([src/minhack.c])
1.14 +AC_CONFIG_HEADER([config.h])
1.15 +AC_CONFIG_FILES([Makefile
1.16 +src/Makefile
1.17 +])
1.18 +AM_INIT_AUTOMAKE(no-define)
1.19 +
1.20 +##################################################
1.21 +# Checks for programs.
1.22 +##################################################
1.23 +AC_PROG_CC
1.24 +
1.25 +##################################################
1.26 +# Checks for header files.
1.27 +##################################################
1.28 +AC_HEADER_STDC
1.29 +
1.30 +##################################################
1.31 +# Checks for typedefs, structures, and compiler characteristics.
1.32 +##################################################
1.33 +
1.34 +##################################################
1.35 +# Checks for libraries.
1.36 +##################################################
1.37 +PKG_CHECK_MODULES(MINHACK, nhproxy >= 0.9.0)
1.38 +
1.39 +##################################################
1.40 +# Checks for optional features.
1.41 +##################################################
1.42 +
1.43 +##################################################
1.44 +# Generate the various configured files
1.45 +##################################################
1.46 +AC_SUBST(MINHACK_CFLAGS)
1.47 +AC_SUBST(MINHACK_LIBS)
1.48 +AC_OUTPUT