Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-79

configure check for apr-util

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.0
    • Build
    • None
    • CVS HEAD

    Description

      configure does not check for apr-util but uses apr_xlate.h, which is only provided by the package.

      While I was fixing this, I noticed that the symbol APR_LIBS was not marked for substition. Lastly, two subdirectories in 'tests/input' were missing Makefile.ins.

      Patch against CVS HEAD of today follows. The patch needs 'find_apu.m4', which can be found with the APR-util distribution.

      — configure.in 9 Feb 2005 23:39:45 -0000 1.49
      +++ configure.in 25 Apr 2005 13:28:26 -0000
      @@ -144,8 +144,18 @@

      CPPFLAGS="$CPPFLAGS `$apr_config --cppflags` `$apr_config --includes`"
      APR_LIBS="`$apr_config --link-ld --libs`"
      +AC_SUBST(APR_LIBS)
      LDFLAGS="$LDFLAGS $APR_LIBS"

      +APR_FIND_APU(, , 1, 1)
      +if test "$apu_found" = "no"; then
      + AC_MSG_ERROR(APR-util could not be located. Please use the --with-apr-util option.)
      +fi
      +
      +CPPFLAGS="$CPPFLAGS `$apu_config --includes`"
      +APU_LIBS="`$apu_config --link-ld --libs`"
      +AC_SUBST(APU_LIBS)
      +LDFLAGS="$LDFLAGS $APU_LIBS"

      1. Checks local idioms
      2. ----------------------------------------------------------------------------
        @@ -386,6 +396,8 @@
        tests/Makefile
        tests/input/Makefile
        tests/input/xml/Makefile
        +tests/input/performance/Makefile
        +tests/input/ndc/Makefile
        tests/src/Makefile
        tests/src/customlogger/Makefile
        tests/src/db/Makefile

      Attachments

        Activity

          People

            carnold@apache.org Curt Arnold
            iluetkeb Ingo Lütkebohle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: