Ticket #58550: configure-Tiger.diff

File configure-Tiger.diff, 11.5 KB (added by ballapete (Peter "Pete" Dyballa), 5 years ago)

Patch to remove webdav from configure script

  • configure

    old new  
    870870with_zlib
    871871with_bzip2
    872872with_fam
    873 with_webdav_props
    874 with_libxml
    875 with_sqlite
    876 with_webdav_locks
    877 with_uuid
    878873with_gdbm
    879874with_geoip
    880875with_maxminddb
     
    15861581  --with-zlib             Enable zlib support for mod_compress
    15871582  --with-bzip2            Enable bzip2 support for mod_compress
    15881583  --with-fam              fam/gamin for reducing number of stat() calls
    1589   --with-webdav-props     properties in mod_webdav
    1590   --with-libxml           libxml2 for properties in mod_webdav
    1591   --with-sqlite           sqlite for properties in mod_webdav
    1592   --with-webdav-locks     locks in mod_webdav (requires webdav properties)
    1593   --with-uuid             uuid for locks in mod_webdav
    15941584  --with-gdbm             gdbm storage for mod_trigger_b4_dl
    15951585  --with-geoip            IP-based geolocation lookup
    15961586  --with-maxminddb        IP-based geolocation lookup
     
    1725317243fi
    1725417244
    1725517245
    17256 { $as_echo "$as_me:${as_lineno-$LINENO}: ----------------------------------------" >&5
    17257 $as_echo "$as_me: ----------------------------------------" >&6;}
    17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for properties in mod_webdav" >&5
    17259 $as_echo_n "checking for properties in mod_webdav... " >&6; }
    17260 
    17261 # Check whether --with-webdav-props was given.
    17262 if test "${with_webdav_props+set}" = set; then :
    17263   withval=$with_webdav_props; WITH_WEBDAV_PROPS=$withval
    17264 else
    17265   WITH_WEBDAV_PROPS=no
    17266 
    17267 fi
    17268 
    17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_WEBDAV_PROPS" >&5
    17270 $as_echo "$WITH_WEBDAV_PROPS" >&6; }
    17271 
    17272 if test "$WITH_WEBDAV_PROPS" != no; then
    17273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml2" >&5
    17274 $as_echo_n "checking for libxml2... " >&6; }
    17275 
    17276 # Check whether --with-libxml was given.
    17277 if test "${with_libxml+set}" = set; then :
    17278   withval=$with_libxml; WITH_LIBXML=$withval
    17279 else
    17280   WITH_LIBXML=yes
    17281 
    17282 fi
    17283 
    17284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_LIBXML" >&5
    17285 $as_echo "$WITH_LIBXML" >&6; }
    17286 
    17287   if test "$WITH_LIBXML" = no; then
    17288     as_fn_error $? "--with-webdav-props requires libxml" "$LINENO" 5
    17289   fi
    17290 
    17291   if test "$WITH_LIBXML" != yes; then
    17292     XML_LIBS="-L$WITH_LIBXML/.libs -lxml2"
    17293     XML_CFLAGS="-I$WITH_LIBXML/include"
    17294   else
    17295 
    17296 pkg_failed=no
    17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5
    17298 $as_echo_n "checking for XML... " >&6; }
    17299 
    17300 if test -n "$XML_CFLAGS"; then
    17301     pkg_cv_XML_CFLAGS="$XML_CFLAGS"
    17302  elif test -n "$PKG_CONFIG"; then
    17303     if test -n "$PKG_CONFIG" && \
    17304     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
    17305   ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
    17306   ac_status=$?
    17307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    17308   test $ac_status = 0; }; then
    17309   pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
    17310                       test "x$?" != "x0" && pkg_failed=yes
    17311 else
    17312   pkg_failed=yes
    17313 fi
    17314  else
    17315     pkg_failed=untried
    17316 fi
    17317 if test -n "$XML_LIBS"; then
    17318     pkg_cv_XML_LIBS="$XML_LIBS"
    17319  elif test -n "$PKG_CONFIG"; then
    17320     if test -n "$PKG_CONFIG" && \
    17321     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
    17322   ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
    17323   ac_status=$?
    17324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    17325   test $ac_status = 0; }; then
    17326   pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
    17327                       test "x$?" != "x0" && pkg_failed=yes
    17328 else
    17329   pkg_failed=yes
    17330 fi
    17331  else
    17332     pkg_failed=untried
    17333 fi
    17334 
    17335 
    17336 
    17337 if test $pkg_failed = yes; then
    17338         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    17339 $as_echo "no" >&6; }
    17340 
    17341 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
    17342         _pkg_short_errors_supported=yes
    17343 else
    17344         _pkg_short_errors_supported=no
    17345 fi
    17346         if test $_pkg_short_errors_supported = yes; then
    17347                 XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
    17348         else
    17349                 XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
    17350         fi
    17351         # Put the nasty error message in config.log where it belongs
    17352         echo "$XML_PKG_ERRORS" >&5
    17353 
    17354 
    17355       as_fn_error $? "libxml2 not found, install it or build without --with-webdav-props" "$LINENO" 5
    17356 
    17357 elif test $pkg_failed = untried; then
    17358         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    17359 $as_echo "no" >&6; }
    17360 
    17361       as_fn_error $? "libxml2 not found, install it or build without --with-webdav-props" "$LINENO" 5
    17362 
    17363 else
    17364         XML_CFLAGS=$pkg_cv_XML_CFLAGS
    17365         XML_LIBS=$pkg_cv_XML_LIBS
    17366         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    17367 $as_echo "yes" >&6; }
    17368 
    17369 fi
    17370   fi
    17371 
    17372 
    17373 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
    17374 
    17375 
    17376 $as_echo "#define HAVE_LIBXML_H 1" >>confdefs.h
    17377 
    17378 
    17379 
    17380 
    17381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite" >&5
    17382 $as_echo_n "checking for sqlite... " >&6; }
    17383 
    17384 # Check whether --with-sqlite was given.
    17385 if test "${with_sqlite+set}" = set; then :
    17386   withval=$with_sqlite; WITH_SQLITE=$withval
    17387 else
    17388   WITH_SQLITE=yes
    17389 
    17390 fi
    17391 
    17392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_SQLITE" >&5
    17393 $as_echo "$WITH_SQLITE" >&6; }
    17394 
    17395   if test "$WITH_SQLITE" = no; then
    17396     as_fn_error $? "--with-webdav-props requires sqlite" "$LINENO" 5
    17397   fi
    17398 
    17399   if test "$WITH_SQLITE" != yes; then
    17400     SQLITE_LIBS="-L$WITH_SQLITE/.libs -lsqlite3"
    17401     SQLITE_CFLAGS="-I$WITH_SQLITE"
    17402   else
    17403 
    17404 pkg_failed=no
    17405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
    17406 $as_echo_n "checking for SQLITE... " >&6; }
    17407 
    17408 if test -n "$SQLITE_CFLAGS"; then
    17409     pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
    17410  elif test -n "$PKG_CONFIG"; then
    17411     if test -n "$PKG_CONFIG" && \
    17412     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
    17413   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
    17414   ac_status=$?
    17415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    17416   test $ac_status = 0; }; then
    17417   pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
    17418                       test "x$?" != "x0" && pkg_failed=yes
    17419 else
    17420   pkg_failed=yes
    17421 fi
    17422  else
    17423     pkg_failed=untried
    17424 fi
    17425 if test -n "$SQLITE_LIBS"; then
    17426     pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
    17427  elif test -n "$PKG_CONFIG"; then
    17428     if test -n "$PKG_CONFIG" && \
    17429     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
    17430   ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
    17431   ac_status=$?
    17432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    17433   test $ac_status = 0; }; then
    17434   pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
    17435                       test "x$?" != "x0" && pkg_failed=yes
    17436 else
    17437   pkg_failed=yes
    17438 fi
    17439  else
    17440     pkg_failed=untried
    17441 fi
    17442 
    17443 
    17444 
    17445 if test $pkg_failed = yes; then
    17446         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    17447 $as_echo "no" >&6; }
    17448 
    17449 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
    17450         _pkg_short_errors_supported=yes
    17451 else
    17452         _pkg_short_errors_supported=no
    17453 fi
    17454         if test $_pkg_short_errors_supported = yes; then
    17455                 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
    17456         else
    17457                 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
    17458         fi
    17459         # Put the nasty error message in config.log where it belongs
    17460         echo "$SQLITE_PKG_ERRORS" >&5
    17461 
    17462 
    17463       as_fn_error $? "sqlite3 not found, install it or build without --with-webdav-props" "$LINENO" 5
    17464 
    17465 elif test $pkg_failed = untried; then
    17466         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    17467 $as_echo "no" >&6; }
    17468 
    17469       as_fn_error $? "sqlite3 not found, install it or build without --with-webdav-props" "$LINENO" 5
    17470 
    17471 else
    17472         SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
    17473         SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
    17474         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    17475 $as_echo "yes" >&6; }
    17476 
    17477 fi
    17478   fi
    17479 
    17480 
    17481 $as_echo "#define HAVE_SQLITE3 1" >>confdefs.h
    17482 
    17483 
    17484 $as_echo "#define HAVE_SQLITE3_H 1" >>confdefs.h
    17485 
    17486 
    17487 
    17488 fi
    17489 
    17490 
    17491 { $as_echo "$as_me:${as_lineno-$LINENO}: ----------------------------------------" >&5
    17492 $as_echo "$as_me: ----------------------------------------" >&6;}
    17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locks in mod_webdav" >&5
    17494 $as_echo_n "checking for locks in mod_webdav... " >&6; }
    17495 
    17496 # Check whether --with-webdav-locks was given.
    17497 if test "${with_webdav_locks+set}" = set; then :
    17498   withval=$with_webdav_locks; WITH_WEBDAV_LOCKS=$withval
    17499 else
    17500   WITH_WEBDAV_LOCKS=no
    17501 
    17502 fi
    17503 
    17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_WEBDAV_LOCKS" >&5
    17505 $as_echo "$WITH_WEBDAV_LOCKS" >&6; }
    17506 
    17507 if test "$WITH_WEBDAV_LOCKS" != no; then
    17508   if test "$WITH_WEBDAV_PROPS" = no; then
    17509     as_fn_error $? "--with-webdav-locks requires --with-webdav-props" "$LINENO" 5
    17510   fi
    17511 
    17512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuuid" >&5
    17513 $as_echo_n "checking for libuuid... " >&6; }
    17514 
    17515 # Check whether --with-uuid was given.
    17516 if test "${with_uuid+set}" = set; then :
    17517   withval=$with_uuid; WITH_UUID=$withval
    17518 else
    17519   WITH_UUID=yes
    17520 
    17521 fi
    17522 
    17523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_UUID" >&5
    17524 $as_echo "$WITH_UUID" >&6; }
    17525 
    17526   if test "$WITH_UUID" = no; then
    17527     as_fn_error $? "--with-webdav-locks requires uuid" "$LINENO" 5
    17528   fi
    17529 
    17530   if test "$WITH_UUID" != yes; then
    17531     UUID_LIBS="-L$WITH_UUID -luuid"
    17532     CPPFLAGS="$CPPFLAGS -I$WITH_UUID"
    17533   else
    17534     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_unparse in -luuid" >&5
    17535 $as_echo_n "checking for uuid_unparse in -luuid... " >&6; }
    17536 if ${ac_cv_lib_uuid_uuid_unparse+:} false; then :
    17537   $as_echo_n "(cached) " >&6
    17538 else
    17539   ac_check_lib_save_LIBS=$LIBS
    17540 LIBS="-luuid  $LIBS"
    17541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    17542 /* end confdefs.h.  */
    17543 
    17544 /* Override any GCC internal prototype to avoid an error.
    17545    Use char because int might match the return type of a GCC
    17546    builtin and then its argument prototype would still apply.  */
    17547 #ifdef __cplusplus
    17548 extern "C"
    17549 #endif
    17550 char uuid_unparse ();
    17551 int
    17552 main ()
    17553 {
    17554 return uuid_unparse ();
    17555   ;
    17556   return 0;
    17557 }
    17558 _ACEOF
    17559 if ac_fn_c_try_link "$LINENO"; then :
    17560   ac_cv_lib_uuid_uuid_unparse=yes
    17561 else
    17562   ac_cv_lib_uuid_uuid_unparse=no
    17563 fi
    17564 rm -f core conftest.err conftest.$ac_objext \
    17565     conftest$ac_exeext conftest.$ac_ext
    17566 LIBS=$ac_check_lib_save_LIBS
    17567 fi
    17568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_unparse" >&5
    17569 $as_echo "$ac_cv_lib_uuid_uuid_unparse" >&6; }
    17570 if test "x$ac_cv_lib_uuid_uuid_unparse" = xyes; then :
    17571   UUID_LIBS=-luuid
    17572 else
    17573   as_fn_error $? "uuid lib not found, install it or build without --with-webdav-locks" "$LINENO" 5
    17574 
    17575 fi
    17576 
    17577     for ac_header in uuid/uuid.h
    17578 do :
    17579   ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
    17580 if test "x$ac_cv_header_uuid_uuid_h" = xyes; then :
    17581   cat >>confdefs.h <<_ACEOF
    17582 #define HAVE_UUID_UUID_H 1
    17583 _ACEOF
    17584 
    17585 else
    17586   as_fn_error $? "uuid headers not found, install them or build without --with-webdav-locks" "$LINENO" 5
    17587 
    17588 fi
    17589 
    17590 done
    17591 
    17592   fi
    17593 
    17594 
    17595 $as_echo "#define HAVE_LIBUUID 1" >>confdefs.h
    17596 
    17597 
    17598 $as_echo "#define HAVE_UUID_UUID_H 1" >>confdefs.h
    17599 
    17600 
    17601 fi
    1760217246
    1760317247{ $as_echo "$as_me:${as_lineno-$LINENO}: ----------------------------------------" >&5
    1760417248$as_echo "$as_me: ----------------------------------------" >&6;}
     
    2136521009  mod_userdir \
    2136621010  mod_usertrack \
    2136721011  mod_vhostdb \
    21368   mod_webdav \
    2136921012  mod_wstunnel \
    2137021013"
    2137121014
     
    2143921082lighty_track_feature "stat-cache-fam" "" \
    2144021083  'test "$WITH_FAM" != no'
    2144121084
    21442 lighty_track_feature "webdav-properties" "" \
    21443   'test "$WITH_WEBDAV_PROPS" != no'
    21444 
    21445 lighty_track_feature "webdav-locks" "" \
    21446   'test "$WITH_WEBDAV_LOCKS" != no'
    21447 
    2144821085
    2144921086$ECHO
    2145021087$ECHO "Plugins:"