Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7600249

Browse files
committed
--without fix from Brook
1 parent 845a3bd commit 7600249

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

src/configure.in

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,13 @@ AC_MSG_CHECKING(setting USE_TCL)
222222
AC_ARG_WITH(
223223
tcl,
224224
[ --with-tcl use tcl ],
225-
USE_TCL=true; AC_MSG_RESULT(enabled),
226-
USE_TCL=false; AC_MSG_RESULT(disabled)
225+
[
226+
case "$withval" in
227+
y | ye | yes) USE_TCL=true; AC_MSG_RESULT(enabled) ;;
228+
*) USE_TCL=false; AC_MSG_RESULT(disabled) ;;
229+
esac
230+
],
231+
[ USE_TCL=false; AC_MSG_RESULT(disabled) ]
227232
)
228233

229234
dnl Add tcl/tk candidate directories to CPPFLAGS
@@ -254,8 +259,13 @@ AC_MSG_CHECKING(setting USE_PERL)
254259
AC_ARG_WITH(
255260
perl,
256261
[ --with-perl use perl ],
257-
USE_PERL=true; AC_MSG_RESULT(enabled),
258-
USE_PERL=false; AC_MSG_RESULT(disabled)
262+
[
263+
case "$withval" in
264+
y | ye | yes) USE_PERL=true; AC_MSG_RESULT(enabled) ;;
265+
*) USE_PERL=false; AC_MSG_RESULT(disabled) ;;
266+
esac
267+
],
268+
[ USE_PERL=false; AC_MSG_RESULT(disabled) ]
259269
)
260270

261271
#dnl Verify that postgres is already installed

0 commit comments

Comments
 (0)