This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] Fix --without-libbanshee handling
- From: Diego Novillo <dnovillo at redhat dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 28 Mar 2004 19:32:47 -0500
- Subject: [tree-ssa] Fix --without-libbanshee handling
- Organization: Red Hat Canada
The handling of --without-libbanshee was botched. We were using
$enableval to get the setting. Fixed with. Tested with and without
libbanshee.
Diego.
* configure.in: Fix handling of --without-libbanshee.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.161.2.42
diff -d -c -p -r1.161.2.42 configure.in
*** configure.in 27 Mar 2004 00:09:34 -0000 1.161.2.42
--- configure.in 29 Mar 2004 00:30:05 -0000
*************** case "${host}" in
*** 310,325 ****
esac
AC_ARG_WITH(libbanshee,
! [ --without-libbanshee Don't build with libbanshee],
! [with_libbanshee=$enableval],
! [with_libbanshee=])
case ${with_libbanshee} in
! no | "")
noconfigdirs="$noconfigdirs libbanshee" ;;
! yes)
;;
*)
! AC_MSG_ERROR([--with-libbanshee can only be "yes", "no".])
esac
AC_ARG_ENABLE(libada,
--- 310,323 ----
esac
AC_ARG_WITH(libbanshee,
! [ --without-libbanshee Don't build with libbanshee])
case ${with_libbanshee} in
! no)
noconfigdirs="$noconfigdirs libbanshee" ;;
! yes|"")
;;
*)
! AC_MSG_ERROR([--with-libbanshee can only be empty, "yes" or "no" (empty defaults to "yes".])
esac
AC_ARG_ENABLE(libada,