diff rogue4/configure.ac @ 93:8f7c082fde46

Don't set DESTDIR via configure. DESTDIR ought to be set via option passed to 'make install'.
author John "Elwin" Edwards
date Mon, 26 Aug 2013 19:58:44 -0700
parents ae4f413fe76c
children 65f3da34578a
line wrap: on
line diff
--- a/rogue4/configure.ac	Sun Aug 25 21:31:22 2013 -0700
+++ b/rogue4/configure.ac	Mon Aug 26 19:58:44 2013 -0700
@@ -151,26 +151,6 @@
 
 AC_SUBST(SAVEDIR)
 
-AC_ARG_ENABLE([destdir],[AC_HELP_STRING([--enable-destdir=DESTDIR], [chroot to install into])],[],[])
-AC_MSG_CHECKING([for chrooted install])
-if test "x$enable_destdir" = "xno" ; then
-DESTDIR=
-elif test "x$enable_destdir" = "xyes" ; then
-DESTDIR=
-elif test "x$enable_destdir" = "x" ; then
-DESTDIR=
-else
-DESTDIR=$enable_destdir
-fi
-
-if test "x$DESTDIR" != "x" ; then
-AC_MSG_RESULT([$DESTDIR])
-else
-AC_MSG_RESULT([disabled])
-fi
-
-AC_SUBST(DESTDIR)
-
 AC_ARG_ENABLE([wizardmode],[AC_HELP_STRING([--enable-wizardmode], [enable availability of wizard mode @<:@default=no@:>@])],[],[])
 AC_MSG_CHECKING([if wizard mode is enabled])
 if test "x$enable_wizardmode" = "xno" ; then