apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From orlikow...@apache.org
Subject cvs commit: apr/build apr_hints.m4
Date Mon, 03 Dec 2001 19:26:35 GMT
orlikowski    01/12/03 11:26:35

  Modified:    build    apr_hints.m4
  Log:
  Add a proper check for xlc on AIX.
  
  Revision  Changes    Path
  1.31      +3 -3      apr/build/apr_hints.m4
  
  Index: apr_hints.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_hints.m4,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- apr_hints.m4	2001/11/29 02:08:11	1.30
  +++ apr_hints.m4	2001/12/03 19:26:35	1.31
  @@ -57,9 +57,9 @@
                   APR_ADDTO(CPPFLAGS, [-D_USE_IRS])
                   ;;
           esac
  -        dnl Must do a check for gcc or egcs here, to get the right options  
  -        dnl to the compiler.
  -        if test "$GCC" != "yes"; then
  +        dnl If using xlc, remember it, and give it the right options.
  +        if $CC 2>&1 | grep 'xlc' > /dev/null; then
  +          APR_SETIFNULL(AIX_XLC, [yes])
             APR_ADDTO(CFLAGS, [-qHALT=E])
           fi
   	APR_SETIFNULL(apr_iconv_inbuf_const, [1])
  
  
  

Mime
View raw message