Skip to content

Commit

Permalink
Refine PEAR option. Since it does not reference anything external, it…
Browse files Browse the repository at this point in the history
… should be

AC_ARG_ENABLE instead of AC_ARG_WITH.
  • Loading branch information
Sascha Schumann committed Dec 19, 1999
1 parent 213d0e2 commit 48fb8ba
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions configure.in
Expand Up @@ -605,19 +605,20 @@ AC_ARG_ENABLE(low-memory,
])
AC_MSG_RESULT($PHP_LOW_MEMORY)
AC_MSG_CHECKING(whether to install PEAR)
AC_ARG_WITH(pear,
[ --without-pear Do not install PEAR],[
if test "$withval" = "yes"; then
PEAR_DIR=pear
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
AC_ARG_ENABLE(pear,
[ --disable-pear Do not install PEAR],[
PHP_PEAR=$enableval
],[
PEAR_DIR=pear
AC_MSG_RESULT(yes)
PHP_PEAR=yes
])
AC_MSG_CHECKING(whether to install PEAR)
AC_MSG_RESULT($PHP_PEAR)
if test "$PHP_PEAR" = "yes"; then
PEAR_DIR=pear
fi
AC_SUBST(PEAR_DIR)
PHP_SAPI=cgi
Expand Down

0 comments on commit 48fb8ba

Please sign in to comment.