aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2000-12-09 01:29:47 +0000
committerCarsten Haitzler <raster@rasterman.com>2000-12-09 01:29:47 +0000
commitcb64aa578fc6637a7363c9cad6837412de9a0f25 (patch)
treec0e047d2131c8ee0f44710937dd046cf09fd7087 /configure.in
parentfix paths (diff)
downloadenlightenment-cb64aa578fc6637a7363c9cad6837412de9a0f25.tar.gz
./configure && make && sudo make install
work now - and the wm runs fine... :) SVN revision: 3964
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index b6a7ac141..b093970dc 100644
--- a/configure.in
+++ b/configure.in
@@ -33,6 +33,17 @@ else
AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}/${PACKAGE}")
fi
+dnl Set PACKAGE_BIN_DIR in config.h.
+if test "x${datadir}" = 'x${prefix}/bin'; then
+ if test "x${prefix}" = "xNONE"; then
+ AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${ac_default_prefix}/bin/${PACKAGE}")
+ else
+ AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${prefix}/bin/${PACKAGE}")
+ fi
+else
+ AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${bindir}/${PACKAGE}")
+fi
+
dnl Set PACKAGE_SOURCE_DIR in config.h.
packagesrcdir=`cd $srcdir && pwd`
AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}")