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]

libiberty configure when makeinfo missing


If makeinfo is missing, configure tries to run " --version"

libiberty/ChangeLog
	* configure.in: Cope with missing makeinfo.
	* configure: Regenerate.

-- 
Alan Modra

Index: libiberty/configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/configure.in,v
retrieving revision 1.37
diff -u -p -c -r1.37 configure.in
*** configure.in	2001/09/27 19:44:32	1.37
--- configure.in	2001/11/03 05:26:51
*************** AC_SUBST(NOTMAINT)dnl
*** 52,66 ****
  # Do we have a single-tree copy of texinfo?  Even if we do, we can't
  # rely on it - libiberty is built before texinfo.
  AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, )
! BUILD_INFO=info
! case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in
!   x*\ [[1-3]].* )
!     MAKEINFO="@echo $MAKEINFO is too old, 4.0 or newer required ;true"
      BUILD_INFO=
!     AC_MSG_WARN([
  *** Makeinfo is too old. Info documentation will not be built.])
!     ;;
! esac
  AC_SUBST(MAKEINFO)
  AC_SUBST(BUILD_INFO)
  
--- 52,71 ----
  # Do we have a single-tree copy of texinfo?  Even if we do, we can't
  # rely on it - libiberty is built before texinfo.
  AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, )
! if test "x$MAKEINFO" = "x"; then
!     MAKEINFO="@echo makeinfo missing; true"
      BUILD_INFO=
! else
!     BUILD_INFO=info
!     case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in
!       x*\ [[1-3]].* )
! 	MAKEINFO="@echo $MAKEINFO is too old, 4.0 or newer required; true"
! 	BUILD_INFO=
! 	AC_MSG_WARN([
  *** Makeinfo is too old. Info documentation will not be built.])
! 	;;
!     esac
! fi
  AC_SUBST(MAKEINFO)
  AC_SUBST(BUILD_INFO)
  


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