This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] Fix --without-libbanshee handling


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,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]