Don't set DESTDIR via configure.
DESTDIR ought to be set via option passed to 'make install'.
This commit is contained in:
parent
4e5449535a
commit
fef5939ab1
4 changed files with 2 additions and 42 deletions
|
|
@ -27,7 +27,7 @@ LOCKFILE=@LOCKFILE@
|
|||
#GROUPOWNER=games
|
||||
GROUPOWNER=@GROUPOWNER@
|
||||
|
||||
DESTDIR=@DESTDIR@
|
||||
DESTDIR=
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
datarootdir=@datarootdir@
|
||||
|
|
|
|||
|
|
@ -151,26 +151,6 @@ fi
|
|||
|
||||
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
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ RMDIR=rmdir
|
|||
|
||||
CHMOD=chmod
|
||||
|
||||
DESTDIR=@DESTDIR@
|
||||
DESTDIR=
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
|
|
|
|||
|
|
@ -151,26 +151,6 @@ fi
|
|||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue