2003-04-04 18:14:56 +02:00
|
|
|
AC_INIT(nix, 0.1)
|
|
|
|
AC_CONFIG_SRCDIR(src/nix.cc)
|
|
|
|
AC_CONFIG_AUX_DIR(config)
|
|
|
|
AM_INIT_AUTOMAKE
|
|
|
|
|
|
|
|
AC_PREFIX_DEFAULT(/nix)
|
|
|
|
|
|
|
|
AC_CANONICAL_HOST
|
|
|
|
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_CXX
|
2003-06-20 12:53:04 +02:00
|
|
|
AC_PROG_RANLIB
|
2003-04-04 18:14:56 +02:00
|
|
|
|
2003-06-17 23:12:58 +02:00
|
|
|
# Unix shell scripting should die a slow and painful death.
|
2003-07-04 14:18:06 +02:00
|
|
|
AC_DEFINE_UNQUOTED(NIX_STORE_DIR, "$(eval echo $prefix/store)", Nix store directory.)
|
2003-07-10 15:41:28 +02:00
|
|
|
AC_DEFINE_UNQUOTED(NIX_DATA_DIR, "$(eval echo $datadir)", Nix data directory.)
|
2003-06-17 23:12:58 +02:00
|
|
|
AC_DEFINE_UNQUOTED(NIX_STATE_DIR, "$(eval echo $localstatedir/nix)", Nix state directory.)
|
|
|
|
AC_DEFINE_UNQUOTED(NIX_LOG_DIR, "$(eval echo $localstatedir/log/nix)", Nix log file directory.)
|
|
|
|
|
2003-06-18 10:07:28 +02:00
|
|
|
AM_CONFIG_HEADER([config.h])
|
2003-07-10 15:41:28 +02:00
|
|
|
AC_CONFIG_FILES([Makefile src/Makefile scripts/Makefile corepkgs/Makefile])
|
2003-04-08 17:36:54 +02:00
|
|
|
AC_OUTPUT
|