apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject cvs commit: apr/build apr_hints.m4
Date Sat, 22 Sep 2001 20:23:21 GMT
gstein      01/09/22 13:23:21

  Modified:    .        configure.in
               build    apr_hints.m4
  Log:
  AC_PROG_CC can only be used once within a configure script (at least with
  autoconf 2.52). Shift the invocation to a very early point in the process so
  that the preload logic can make choices based on the available compiler (as
  AIX needs to do).
  
  Revision  Changes    Path
  1.367     +6 -1      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.366
  retrieving revision 1.367
  diff -u -r1.366 -r1.367
  --- configure.in	2001/09/22 19:10:18	1.366
  +++ configure.in	2001/09/22 20:23:21	1.367
  @@ -36,6 +36,12 @@
   dnl # Some initial steps for configuration.  We setup the default directory
   dnl # and which files are to be configured.
   
  +dnl Do the various CC checks *before* preloading values. The preload code
  +dnl may need to use compiler characteristics to make decisions. This macro
  +dnl can only be used once within a configure script, so this prevents a
  +dnl preload section from invoking the macro to get compiler info.
  +AC_PROG_CC
  +
   dnl Preload
   APR_PRELOAD
   
  @@ -71,7 +77,6 @@
   
   dnl Checks for programs.
   AC_PROG_MAKE_SET
  -AC_PROG_CC
   AC_PROG_CPP
   AC_PROG_AWK
   AC_PROG_LN_S
  
  
  
  1.23      +0 -1      apr/build/apr_hints.m4
  
  Index: apr_hints.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_hints.m4,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- apr_hints.m4	2001/08/30 05:45:43	1.22
  +++ apr_hints.m4	2001/09/22 20:23:21	1.23
  @@ -78,7 +78,6 @@
           esac
           dnl Must do a check for gcc or egcs here, to get the right options  
           dnl to the compiler.
  -	AC_PROG_CC
           if test "$GCC" != "yes"; then
             APR_ADDTO(CFLAGS, [-qHALT=E -qLANGLVL=extended])
           fi
  
  
  

Mime
View raw message