[asterisk-commits] tilghman: branch 1.8 r290102 - in /branches/1.8: ./ configure configure.ac

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Oct 3 16:08:49 CDT 2010


Author: tilghman
Date: Sun Oct  3 16:08:45 2010
New Revision: 290102

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=290102
Log:
Merged revisions 290101 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290101 | tilghman | 2010-10-03 16:06:58 -0500 (Sun, 03 Oct 2010) | 9 lines
  
  Merged revisions 290100 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r290100 | tilghman | 2010-10-03 16:04:29 -0500 (Sun, 03 Oct 2010) | 2 lines
    
    Automatically re-run configure test for menuselect, when the relevant makeopts settings change.
  ........
................

Modified:
    branches/1.8/   (props changed)
    branches/1.8/configure
    branches/1.8/configure.ac

Propchange: branches/1.8/
------------------------------------------------------------------------------
Binary property 'branch-1.6.2-merged' - no diff available.

Modified: branches/1.8/configure.ac
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/configure.ac?view=diff&rev=290102&r1=290101&r2=290102
==============================================================================
--- branches/1.8/configure.ac (original)
+++ branches/1.8/configure.ac Sun Oct  3 16:08:45 2010
@@ -217,6 +217,7 @@
 AC_PROG_LN_S
 AC_PROG_RANLIB
 AST_CHECK_GNU_MAKE
+AC_PROG_EGREP
 
 AC_CHECK_TOOLS([STRIP], [strip gstrip], :)
 AC_CHECK_TOOLS([AR], [ar gar], :)
@@ -230,6 +231,7 @@
 AC_SUBST(GNU_LD)
 
 AC_PATH_PROG([BISON], [bison], :)
+AC_PATH_PROG([CMP], [cmp], :)
 AC_PATH_PROG([FLEX], [flex], :)
 AC_PATH_PROG([GREP], [grep], :)
 AC_PATH_PROG([FIND], [find], :)
@@ -2149,6 +2151,12 @@
 
 AC_SUBST([PBX_SYSLOG])
 
+if test -f makeopts; then
+	${ac_cv_path_EGREP} 'CURSES|GTK2|OSARCH|NEWT' makeopts > makeopts.bak
+else
+	touch makeopts.bak
+fi
+
 AC_CONFIG_FILES([build_tools/menuselect-deps makeopts channels/h323/Makefile])
 AST_CHECK_MANDATORY
 
@@ -2163,6 +2171,16 @@
 fi
 
 AC_OUTPUT
+
+${ac_cv_path_EGREP} 'CURSES|GTK2|OSARCH|NEWT' makeopts > makeopts.bak2
+if test "x${ac_cv_path_CMP}" = "x:"; then
+	( cd menuselect && ./configure )
+else if ${ac_cv_path_CMP} -s makeopts.bak makeopts.bak2; then : ; else
+	( cd menuselect && ./configure )
+fi ; fi
+
+rm makeopts.bak makeopts.bak2
+
 
 if test "x${silent}" != "xyes" ; then
 echo




More information about the asterisk-commits mailing list