1 dnl Process this file with autoconf to produce a configure script.
3 # get rid of that stupid cache mechanism
7 AM_INIT_AUTOMAKE(eet, 0.0.1)
8 AM_CONFIG_HEADER(config.h)
18 if test "x${exec_prefix}" = "xNONE"; then
19 if test "x${prefix}" = "xNONE"; then
20 bindir="${ac_default_prefix}/bin";
22 bindir="${prefix}/bin";
25 if test "x${prefix}" = "xNONE"; then
26 bindir="${ac_default_prefix}/bin";
28 bindir="${prefix}/bin";
32 if test "x${exec_prefix}" = "xNONE"; then
33 if test "x${prefix}" = "xNONE"; then
34 libdir="${ac_default_prefix}/lib";
36 libdir="${prefix}/lib";
39 if test "x${prefix}" = "xNONE"; then
40 libdir="${ac_default_prefix}/lib";
42 libdir="${prefix}/lib";
46 dnl Set PACKAGE_BIN_DIR in config.h.
47 if test "x${bindir}" = 'xNONE'; then
48 if test "x${prefix}" = "xNONE"; then
49 AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${ac_default_prefix}/bin")
51 AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${prefix}/bin")
54 AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${bindir}")
57 dnl Set PACKAGE_LIB_DIR in config.h.
58 if test "x${libdir}" = 'xNONE'; then
59 if test "x${prefix}" = "xNONE"; then
60 AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${ac_default_prefix}/lib")
62 AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${prefix}/lib")
65 AC_DEFINE_UNQUOTED(PACKAGE_LIB_DIR, "${libdir}")
68 dnl Set PACKAGE_SOURCE_DIR in config.h.
69 packagesrcdir=`cd $srcdir && pwd`
70 AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}")