[asterisk-commits] trunk r37284 - in /trunk: configure configure.ac

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jul 6 22:51:29 MST 2006


Author: russell
Date: Fri Jul  7 00:51:29 2006
New Revision: 37284

URL: http://svn.digium.com/view/asterisk?rev=37284&view=rev
Log:
avoid an error from configure by not doing a cat on a file that doesn't exist

Modified:
    trunk/configure
    trunk/configure.ac

Modified: trunk/configure
URL: http://svn.digium.com/view/asterisk/trunk/configure?rev=37284&r1=37283&r2=37284&view=diff
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Fri Jul  7 00:51:29 2006
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 37105 .
+# From configure.ac Revision: 37278 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59e.
 #
@@ -16428,7 +16428,9 @@
    echo -n "checking for UW IMAP Toolkit c-client library... "
    saved_cppflags="${CPPFLAGS}"
    saved_libs="${LIBS}"
-   imap_ldflags=`cat ${IMAP_TK_DIR}/c-client/LDFLAGS`
+   if test -f ${IMAP_TK_DIR}/c-client/LDFLAGS ; then
+      imap_ldflags=`cat ${IMAP_TK_DIR}/c-client/LDFLAGS`
+   fi
    CPPFLAGS="${CPPFLAGS} -I${IMAP_TK_DIR}/c-client"
    LIBS="${LIBS} ${IMAP_TK_DIR}/c-client/c-client.a "`echo ${imap_ldflags}`
    cat >conftest.$ac_ext <<_ACEOF

Modified: trunk/configure.ac
URL: http://svn.digium.com/view/asterisk/trunk/configure.ac?rev=37284&r1=37283&r2=37284&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Jul  7 00:51:29 2006
@@ -341,7 +341,9 @@
    echo -n "checking for UW IMAP Toolkit c-client library... "
    saved_cppflags="${CPPFLAGS}"
    saved_libs="${LIBS}"
-   imap_ldflags=`cat ${IMAP_TK_DIR}/c-client/LDFLAGS`
+   if test -f ${IMAP_TK_DIR}/c-client/LDFLAGS ; then
+      imap_ldflags=`cat ${IMAP_TK_DIR}/c-client/LDFLAGS`
+   fi
    CPPFLAGS="${CPPFLAGS} -I${IMAP_TK_DIR}/c-client"
    LIBS="${LIBS} ${IMAP_TK_DIR}/c-client/c-client.a "`echo ${imap_ldflags}`
    AC_LINK_IFELSE(



More information about the asterisk-commits mailing list