1 --- acinclude.m4 2001-02-17 10:47:11.000000000 -0600
2 +++ acinclude.m4 2011-10-13 09:53:23.496357037 -0500
4 -AC_DEFUN(AC_YYY_CC_CXX_BEGIN, [
5 +AC_DEFUN([AC_YYY_CC_CXX_BEGIN], [
8 [ --enable-debug do not strip binaries but add debug info],
13 -AC_DEFUN(AC_YYY_CC_INIT, [
14 +AC_DEFUN([AC_YYY_CC_INIT], [
17 [ --with-ccpre=x add at beginning of C options],
19 [ --with-ccpost=x add at end of C options],
20 yyyccpost="$withval",yyyccpost="")
22 -# if not set then set it as empty, so that AC_PROG_CC doesn't set it
23 +dnl if not set then set it as empty, so that AC_PROG_CC doesn't set it
24 if test "$CFLAGS" = ""; then
29 if test "$yyydebug" = "yes"; then
30 YYY_CFLAGS="$YYY_CFLAGS -g"
32 - YYY_LDFLAGS="$YYY_LDFLAGS -s"
35 if test "$yyynowarnerror" = "yes"; then
40 -AC_DEFUN(AC_YYY_CXX_INIT, [
41 +AC_DEFUN([AC_YYY_CXX_INIT], [
44 [ --with-cxxpre=x add at beginning of C++ options],
46 [ --with-cxxpost=x add at end of C++ options],
47 yyycxxpost="$withval",yyycxxpost="")
49 -# if not set then set it as empty, so that AC_PROG_CXX doesn't set it
50 +dnl if not set then set it as empty, so that AC_PROG_CXX doesn't set it
51 if test "$CXXFLAGS" = ""; then
56 if test "$yyydebug" = "yes"; then
57 YYY_CXXFLAGS="$YYY_CXXFLAGS -g"
59 - YYY_LDFLAGS="$YYY_LDFLAGS -s"
62 if test "$yyynowarnerror" = "yes"; then
67 -AC_DEFUN(AC_YYY_CC_CXX_END, [
68 +AC_DEFUN([AC_YYY_CC_CXX_END], [
70 CFLAGS="$yyyccpre $yyycccxxpre $YYY_CFLAGS $yyycccxxpost $yyyccpost"
71 CXXFLAGS="$yyycxxpre $yyycccxxpre $YYY_CXXFLAGS $yyycccxxpost $yyycxxpost"