Enlightenment CVS committal

Author  : mej
Project : eterm
Module  : libast

Dir     : eterm/libast


Modified Files:
        ChangeLog libast.m4 


Log Message:
Mon Aug 22 23:02:03 2005                        Michael Jennings (mej)

Add more quoting to libast.m4 for newer autoSPANK tools.
----------------------------------------------------------------------

===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/ChangeLog,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -3 -r1.137 -r1.138
--- ChangeLog   7 Jun 2005 20:32:37 -0000       1.137
+++ ChangeLog   23 Aug 2005 03:02:35 -0000      1.138
@@ -746,3 +746,7 @@
 Force STRICT_ISO_C99 to be defined when using gcc >= 4.0.  Suggestions
 and partial patch from John Ellson <[EMAIL PROTECTED]>.
 ----------------------------------------------------------------------
+Mon Aug 22 23:02:03 2005                        Michael Jennings (mej)
+
+Add more quoting to libast.m4 for newer autoSPANK tools.
+----------------------------------------------------------------------
===================================================================
RCS file: /cvsroot/enlightenment/eterm/libast/libast.m4,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- libast.m4   14 Sep 2004 15:46:43 -0000      1.11
+++ libast.m4   23 Aug 2005 03:02:36 -0000      1.12
@@ -1,6 +1,6 @@
 dnl#####################################################################
 dnl# Autoconf m4 macros for LibAST
-dnl# $Id: libast.m4,v 1.11 2004/09/14 15:46:43 mej Exp $
+dnl# $Id: libast.m4,v 1.12 2005/08/23 03:02:36 mej Exp $
 dnl#####################################################################
 
 dnl#
@@ -46,19 +46,19 @@
     if test "${$1}" -eq "1"; then
         if test ! -z "$LIBAST_CONFIG"; then
             $2="-last ${$2}"
-            AC_DEFINE(HAVE_LIBAST, 1, [Define if the LibAST library is 
present.])
+            AC_DEFINE([HAVE_LIBAST], [1], [Define if the LibAST library is 
present.])
             test "$prefix" = "NONE" && prefix="`$LIBAST_CONFIG --prefix`"
             SUPPORT_FLAGS="`$LIBAST_CONFIG --support`"
             for i in $SUPPORT_FLAGS ; do
                 case $i in
                     MMX)
-                        AC_DEFINE(LIBAST_MMX_SUPPORT, 1, [Defined if LibAST 
has MMX support.])
+                        AC_DEFINE([LIBAST_MMX_SUPPORT], [1], [Defined if 
LibAST has MMX support.])
                         ;;
                     X11)
-                        AC_DEFINE(LIBAST_X11_SUPPORT, 1, [Defined if LibAST 
has X11 support.])
+                        AC_DEFINE(LIBAST_X11_SUPPORT, [1], [Defined if LibAST 
has X11 support.])
                         ;;
                     Imlib2)
-                        AC_DEFINE(LIBAST_IMLIB2_SUPPORT, 1, [Defined if LibAST 
has Imlib2 support.])
+                        AC_DEFINE(LIBAST_IMLIB2_SUPPORT, [1], [Defined if 
LibAST has Imlib2 support.])
                         ;;
                 esac
             done
@@ -97,7 +97,7 @@
                              ])
             AC_SEARCH_LIBS(pcre_compile, pcre, [GOT_PCRE_LIB=1])
             if test $GOT_PCRE_HEADER -eq 1 -a $GOT_PCRE_LIB -eq 1 ; then
-                AC_DEFINE(LIBAST_REGEXP_SUPPORT_PCRE, 1, [Build LibAST with 
PCRE support.])
+                AC_DEFINE([LIBAST_REGEXP_SUPPORT_PCRE], [1], [Build LibAST 
with PCRE support.])
                 LIBAST_REGEXP_SUPPORT="regexp-pcre"
                 $1="pcre"
             else
@@ -113,7 +113,7 @@
                              ])
             AC_SEARCH_LIBS(regcomp, posix regexp regex re, 
[GOT_POSIXREGEXP_LIB=1])
             if test $GOT_POSIXREGEXP_HEADER -eq 1 -a $GOT_POSIXREGEXP_LIB -eq 
1 ; then
-                AC_DEFINE(LIBAST_REGEXP_SUPPORT_POSIX, 1, [Build LibAST with 
POSIX-style regexp support.])
+                AC_DEFINE([LIBAST_REGEXP_SUPPORT_POSIX], [1], [Build LibAST 
with POSIX-style regexp support.])
                 LIBAST_REGEXP_SUPPORT="regexp-posix"
                 $1="posix"
             else
@@ -129,7 +129,7 @@
                              ])
             AC_SEARCH_LIBS(re_comp, bsd ucb regexp regex re, [GOT_BSD_LIB=1])
             if test $GOT_BSD_HEADER -eq 1 -a $GOT_BSD_LIB -eq 1 ; then
-                AC_DEFINE(LIBAST_REGEXP_SUPPORT_BSD, 1, [Build LibAST with 
BSD-style regexp support.])
+                AC_DEFINE([LIBAST_REGEXP_SUPPORT_BSD], [1], [Build LibAST with 
BSD-style regexp support.])
                 LIBAST_REGEXP_SUPPORT="regexp-bsd"
                 $1="bsd"
             else
@@ -171,7 +171,7 @@
         AC_CHECK_LIB(X11, XOpenDisplay, [
                          LIBAST_X11_SUPPORT="X11"
                          GRLIBS="-lX11"
-                         AC_DEFINE(LIBAST_X11_SUPPORT, 1, [Define for X11 
support.])
+                         AC_DEFINE(LIBAST_X11_SUPPORT, [1], [Define for X11 
support.])
                      ])
     fi
     AC_SUBST(LIBAST_X11_SUPPORT)
@@ -208,7 +208,7 @@
                 AC_CHECK_LIB(freetype, FT_Init_FreeType, GRLIBS="-lfreetype 
$GRLIBS", , $GRLIBS)
                 AC_CHECK_LIB(Imlib2, imlib_create_image, [
                                 GRLIBS="-lImlib2 $GRLIBS"
-                                AC_DEFINE(LIBAST_IMLIB2_SUPPORT, 1, [Define 
for Imlib2 support.])
+                                AC_DEFINE(LIBAST_IMLIB2_SUPPORT, [1], [Define 
for Imlib2 support.])
                                 LIBAST_IMLIB2_SUPPORT="Imlib2"
                      ], [
                          AC_WARN(*** Imlib2 support has been disabled because 
Imlib2 ***)
@@ -235,7 +235,7 @@
     LIBAST_MMX_SUPPORT=""
     if test -n "$HAVE_MMX"; then
         AC_MSG_RESULT(yes)
-        AC_DEFINE(LIBAST_MMX_SUPPORT, 1, [Define for MMX support.])
+        AC_DEFINE([LIBAST_MMX_SUPPORT], [1], [Define for MMX support.])
         LIBAST_MMX_SUPPORT="MMX"
     else
         AC_MSG_RESULT(no)
@@ -351,16 +351,16 @@
                     fi
                     if test "$withval" != "no"; then 
                         AC_MSG_RESULT($withval)
-                        AC_DEFINE_UNQUOTED($1, $withval, [Specify level of 
debugging to compile in.])
+                        AC_DEFINE_UNQUOTED([$1], $withval, [Specify level of 
debugging to compile in.])
                         $1=$withval
                     else
                         AC_MSG_RESULT(no, disabling all debugging support)
-                        AC_DEFINE_UNQUOTED($1, 0, [Specify level of debugging 
to compile in.])
+                        AC_DEFINE_UNQUOTED([$1], [0], [Specify level of 
debugging to compile in.])
                         $1=0
                     fi
                 ], [
                     AC_MSG_RESULT(4)
-                    AC_DEFINE_UNQUOTED($1, 4, [Specify level of debugging to 
compile in.])
+                    AC_DEFINE_UNQUOTED([$1], [4], [Specify level of debugging 
to compile in.])
                     $1=4
     ])
 ])
@@ -382,12 +382,12 @@
                 $1=no
             else
                 AC_MSG_RESULT(yes)
-                AC_DEFINE($1, 1, [Define for backquote execution.])
+                AC_DEFINE($1, [1], [Define for backquote execution.])
                 $1=yes
             fi
         ], [
             AC_MSG_RESULT(yes)
-            AC_DEFINE($1, 1, [Define for backquote execution.])
+            AC_DEFINE($1, [1], [Define for backquote execution.])
             $1=yes
         ])
 ])
@@ -462,10 +462,10 @@
         AC_MSG_RESULT([no, snprintf is ok])
     elif test $dps_cv_snprint_bug -eq 1; then
         AC_MSG_RESULT([yes, snprintf is broken])
-        AC_DEFINE(HAVE_SNPRINTF_BUG, 1, [Defined if libc snprintf is buggy.])
+        AC_DEFINE([HAVE_SNPRINTF_BUG], [1], [Defined if libc snprintf is 
buggy.])
     else
         AC_MSG_RESULT([unknown, assuming yes])
-        AC_DEFINE(HAVE_SNPRINTF_BUG, 1, [Defined if libc snprintf is buggy.])
+        AC_DEFINE([HAVE_SNPRINTF_BUG], [1], [Defined if libc snprintf is 
buggy.])
     fi
 ])
 
@@ -508,10 +508,10 @@
         AC_MSG_RESULT([no, vsnprintf is ok])
     elif test $dps_cv_vsnprintf_bug -eq 1; then
         AC_MSG_RESULT([yes, vsnprintf is broken])
-        AC_DEFINE(HAVE_VSNPRINTF_BUG,1, [Defined if libc vsnprintf is buggy.])
+        AC_DEFINE([HAVE_VSNPRINTF_BUG], [1], [Defined if libc vsnprintf is 
buggy.])
     else
         AC_MSG_RESULT([unknown, assuming yes])
-        AC_DEFINE(HAVE_VSNPRINTF_BUG,1, [Defined if libc vsnprintf is buggy.])
+        AC_DEFINE([HAVE_VSNPRINTF_BUG], [1], [Defined if libc vsnprintf is 
buggy.])
     fi
 ])
 
@@ -577,13 +577,13 @@
     case "$dps_cv_symlink_open_bug" in
         0) AC_MSG_RESULT(secure) ;;
         1) AC_MSG_RESULT(errno wrong but ok)
-           AC_DEFINE(HAVE_SYMLINK_OPEN_ERRNO_BUG, 1, [Defined if symlink 
open() errno is wrong but safe.]) ;;
+           AC_DEFINE([HAVE_SYMLINK_OPEN_ERRNO_BUG], [1], [Defined if symlink 
open() errno is wrong but safe.]) ;;
         2) AC_MSG_RESULT(insecure)
-           AC_DEFINE(HAVE_SYMLINK_OPEN_SECURITY_HOLE, 1, [Defined if symlink 
open() is a security risk.])
-           AC_DEFINE(HAVE_SYMLINK_OPEN_ERRNO_BUG, 1, [Defined if symlink 
open() is buggy.]) ;;
+           AC_DEFINE([HAVE_SYMLINK_OPEN_SECURITY_HOLE], [1], [Defined if 
symlink open() is a security risk.])
+           AC_DEFINE([HAVE_SYMLINK_OPEN_ERRNO_BUG], [1], [Defined if symlink 
open() is buggy.]) ;;
         3) AC_MSG_RESULT(assuming insecure)
-           AC_DEFINE(HAVE_SYMLINK_OPEN_SECURITY_HOLE, 1, [Defined if symlink 
open() is a security risk.])
-           AC_DEFINE(HAVE_SYMLINK_OPEN_ERRNO_BUG, 1, [Defined if symlink 
open() is buggy.]) ;;
+           AC_DEFINE([HAVE_SYMLINK_OPEN_SECURITY_HOLE], [1], [Defined if 
symlink open() is a security risk.])
+           AC_DEFINE([HAVE_SYMLINK_OPEN_ERRNO_BUG], [1], [Defined if symlink 
open() is buggy.]) ;;
         *) AC_MSG_RESULT($dps_cv_symlink_open_bug)
            AC_MSG_ERROR(Impossible value of dps_cv_symlink_open_bug) ;;
     esac
@@ -629,7 +629,7 @@
     ])
     if test $dps_cv_rlimit_nproc -eq 0; then
         AC_MSG_RESULT([yes])
-        AC_DEFINE(HAVE_RLIMIT_NPROC, 1, [Defined if the RLIMIT_NPROC resource 
limit works.])
+        AC_DEFINE([HAVE_RLIMIT_NPROC], [1], [Defined if the RLIMIT_NPROC 
resource limit works.])
     elif test $dps_cv_rlimit_nproc -eq 1; then
         AC_MSG_RESULT([no])
     else
@@ -679,7 +679,7 @@
     ])
     if test $dps_cv_rlimit_memlock -eq 0; then
         AC_MSG_RESULT([yes])
-        AC_DEFINE(HAVE_RLIMIT_MEMLOCK,1, [Defined if the RLIMIT_MEMLOCK 
resource limit works.])
+        AC_DEFINE([HAVE_RLIMIT_MEMLOCK], [1], [Defined if the RLIMIT_MEMLOCK 
resource limit works.])
     elif test $dps_cv_rlimit_memlock -eq 1; then
         AC_MSG_RESULT([no])
     else




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to