mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
* configure.ac: --enable-exec-path should be a 'with'. Fix 'no' cases of
--with-exec-path and --with-photo-viewer.
This commit is contained in:
parent
a811246420
commit
5d74fb31d8
@ -1,5 +1,8 @@
|
|||||||
2002-07-04 David Shaw <dshaw@jabberwocky.com>
|
2002-07-04 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* configure.ac: --enable-exec-path should be a 'with'. Fix 'no'
|
||||||
|
cases of --with-exec-path and --with-photo-viewer.
|
||||||
|
|
||||||
* README: Document --disable-exec, --disable-photo-viewers,
|
* README: Document --disable-exec, --disable-photo-viewers,
|
||||||
--disable-keyserver-helpers, --enable-exec-path, and
|
--disable-keyserver-helpers, --enable-exec-path, and
|
||||||
--with-photo-viewer.
|
--with-photo-viewer.
|
||||||
|
20
configure.ac
20
configure.ac
@ -131,15 +131,15 @@ fi
|
|||||||
|
|
||||||
if test "$use_exec" = yes ; then
|
if test "$use_exec" = yes ; then
|
||||||
AC_MSG_CHECKING([whether to use a restricted exec-path])
|
AC_MSG_CHECKING([whether to use a restricted exec-path])
|
||||||
AC_ARG_ENABLE(exec-path,
|
AC_ARG_WITH(exec-path,
|
||||||
[ --enable-exec-path=PATH restrict exec-path to PATH],
|
[ --with-exec-path=PATH restrict exec-path to PATH],
|
||||||
[if test "$enableval" = yes ; then
|
[if test "$withval" = yes ; then
|
||||||
enableval=no
|
withval=no
|
||||||
else
|
elif test "$withval" != no ; then
|
||||||
AC_DEFINE_UNQUOTED(USE_EXEC_PATH,"$enableval",
|
AC_DEFINE_UNQUOTED(FIXED_EXEC_PATH,"$withval",
|
||||||
[if set, restrict exec-path to this value])
|
[if set, restrict exec-path to this value])
|
||||||
fi],enableval=no)
|
fi],withval=no)
|
||||||
AC_MSG_RESULT($enableval)
|
AC_MSG_RESULT($withval)
|
||||||
|
|
||||||
AC_MSG_CHECKING([whether to enable photo ID viewing])
|
AC_MSG_CHECKING([whether to enable photo ID viewing])
|
||||||
AC_ARG_ENABLE(photo-viewers,
|
AC_ARG_ENABLE(photo-viewers,
|
||||||
@ -154,7 +154,9 @@ if test "$use_exec" = yes ; then
|
|||||||
AC_MSG_CHECKING([whether to use a fixed photo ID viewer])
|
AC_MSG_CHECKING([whether to use a fixed photo ID viewer])
|
||||||
AC_ARG_WITH(photo-viewer,
|
AC_ARG_WITH(photo-viewer,
|
||||||
[ --with-photo-viewer=FIXED_VIEWER set a fixed photo ID viewer],
|
[ --with-photo-viewer=FIXED_VIEWER set a fixed photo ID viewer],
|
||||||
[if test "$withval" != yes ; then
|
[if test "$withval" = yes ; then
|
||||||
|
withval=no
|
||||||
|
elif test "$withval" != no ; then
|
||||||
AC_DEFINE_UNQUOTED(FIXED_PHOTO_VIEWER,"$withval",
|
AC_DEFINE_UNQUOTED(FIXED_PHOTO_VIEWER,"$withval",
|
||||||
[if set, restrict photo-viewer to this])
|
[if set, restrict photo-viewer to this])
|
||||||
fi],withval=no)
|
fi],withval=no)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user