500-configure_cross.patch 1.1 KB

123456789101112131415161718192021222324
  1. diff -ruN lighttpd-1.4.2-old/configure lighttpd-1.4.2-new/configure
  2. --- lighttpd-1.4.2-old/configure 2005-08-29 14:18:11.000000000 +0200
  3. +++ lighttpd-1.4.2-new/configure 2005-09-01 09:06:29.000000000 +0200
  4. @@ -23849,7 +23849,7 @@
  5. echo "$as_me:$LINENO: result: $WITH_PCRE" >&5
  6. echo "${ECHO_T}$WITH_PCRE" >&6
  7. -if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
  8. +if test "$WITH_PCRE" != "no"; then
  9. # Extract the first word of "pcre-config", so it can be a program name with args.
  10. set dummy pcre-config; ac_word=$2
  11. echo "$as_me:$LINENO: checking for $ac_word" >&5
  12. diff -ruN lighttpd-1.4.2-old/configure.in lighttpd-1.4.2-new/configure.in
  13. --- lighttpd-1.4.2-old/configure.in 2005-08-29 14:06:03.000000000 +0200
  14. +++ lighttpd-1.4.2-new/configure.in 2005-09-01 09:05:39.000000000 +0200
  15. @@ -222,7 +222,7 @@
  16. [WITH_PCRE=$withval],[WITH_PCRE=yes])
  17. AC_MSG_RESULT([$WITH_PCRE])
  18. -if test "x$cross_compiling" = xno -a "$WITH_PCRE" != "no"; then
  19. +if test "$WITH_PCRE" != "no"; then
  20. AC_PATH_PROG(PCRECONFIG, pcre-config)
  21. if test x"$PCRECONFIG" != x; then