... | ... |
@@ -17551,50 +17551,57 @@ PCRE_HOME="" |
17551 | 17551 |
# Check whether --with-pcre was given. |
17552 | 17552 |
if test "${with_pcre+set}" = set; then : |
17553 | 17553 |
withval=$with_pcre; |
17554 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpcre installation" >&5 |
|
17554 |
+ PCRE_HOME=$withval |
|
17555 |
+ |
|
17556 |
+else |
|
17557 |
+ |
|
17558 |
+ PCRE_HOME="yes" |
|
17559 |
+ |
|
17560 |
+fi |
|
17561 |
+ |
|
17562 |
+ |
|
17563 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpcre installation" >&5 |
|
17555 | 17564 |
$as_echo_n "checking for libpcre installation... " >&6; } |
17556 |
- case "$withval" in |
|
17557 |
- no) |
|
17558 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
17565 |
+case "$PCRE_HOME" in |
|
17566 |
+no) |
|
17567 |
+ PCRE_HOME="" |
|
17568 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
17559 | 17569 |
$as_echo "no" >&6; } |
17560 |
- ;; |
|
17561 |
- yes) |
|
17562 |
- PCRE_HOME=/usr/local |
|
17563 |
- if test ! -x "$PCRE_HOME/bin/pcre-config"; then |
|
17564 |
- PCRE_HOME=/usr |
|
17565 |
- if test ! -x "$PCRE_HOME/bin/pcre-config"; then |
|
17566 |
- PCRE_HOME="" |
|
17567 |
- as_fn_error $? "cannot locate libpcre at /usr/local or /usr" "$LINENO" 5 |
|
17568 |
- fi |
|
17569 |
- fi |
|
17570 |
- ;; |
|
17571 |
- "") |
|
17572 |
- as_fn_error $? "cannot assign blank value to --with-pcre" "$LINENO" 5 |
|
17573 |
- ;; |
|
17574 |
- *) |
|
17575 |
- PCRE_HOME="$withval" |
|
17570 |
+ ;; |
|
17571 |
+yes) |
|
17572 |
+ PCRE_HOME=/usr/local |
|
17573 |
+ if test ! -x "$PCRE_HOME/bin/pcre-config"; then |
|
17574 |
+ PCRE_HOME=/usr |
|
17576 | 17575 |
if test ! -x "$PCRE_HOME/bin/pcre-config"; then |
17577 | 17576 |
PCRE_HOME="" |
17578 |
- as_fn_error $? "cannot locate libpcre at $withval" "$LINENO" 5 |
|
17577 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
17578 |
+$as_echo "no" >&6; } |
|
17579 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: cannot locate libpcre at /usr/local or /usr" >&5 |
|
17580 |
+$as_echo "$as_me: cannot locate libpcre at /usr/local or /usr" >&6;} |
|
17579 | 17581 |
fi |
17580 |
- ;; |
|
17581 |
- esac |
|
17582 |
- |
|
17583 |
- if test "x$PCRE_HOME" != "x"; then |
|
17584 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: using $PCRE_HOME" >&5 |
|
17585 |
-$as_echo "using $PCRE_HOME" >&6; } |
|
17586 |
- else |
|
17582 |
+ fi |
|
17583 |
+ ;; |
|
17584 |
+"") |
|
17585 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 |
|
17586 |
+$as_echo "" >&6; } |
|
17587 |
+ as_fn_error $? "cannot assign blank value to --with-pcre" "$LINENO" 5 |
|
17588 |
+ ;; |
|
17589 |
+*) |
|
17590 |
+ PCRE_HOME="$withval" |
|
17591 |
+ if test ! -x "$PCRE_HOME/bin/pcre-config"; then |
|
17592 |
+ PCRE_HOME="" |
|
17587 | 17593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
17588 | 17594 |
$as_echo "not found" >&6; } |
17595 |
+ as_fn_error $? "cannot locate libpcre at $withval" "$LINENO" 5 |
|
17589 | 17596 |
fi |
17597 |
+ ;; |
|
17598 |
+esac |
|
17590 | 17599 |
|
17591 |
-else |
|
17592 |
- |
|
17593 |
- PCRE_HOME="" |
|
17594 |
- |
|
17600 |
+if test "x$PCRE_HOME" != "x"; then |
|
17601 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: using $PCRE_HOME" >&5 |
|
17602 |
+$as_echo "using $PCRE_HOME" >&6; } |
|
17595 | 17603 |
fi |
17596 | 17604 |
|
17597 |
- |
|
17598 | 17605 |
found_pcre="no" |
17599 | 17606 |
PCRECONF_VERSION="" |
17600 | 17607 |
PCRE_CPPFLAGS="" |
... | ... |
@@ -17604,8 +17611,8 @@ if test "x$PCRE_HOME" != "x"; then |
17604 | 17604 |
$as_echo_n "checking pcre-config version... " >&6; } |
17605 | 17605 |
PCRECONF_VERSION="`$PCRE_HOME/bin/pcre-config --version`" |
17606 | 17606 |
if test "x%PCRECONF_VERSION" != "x"; then |
17607 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRECONF_VERSION\"" >&5 |
|
17608 |
-$as_echo "$PCRECONF_VERSION\"" >&6; } |
|
17607 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRECONF_VERSION" >&5 |
|
17608 |
+$as_echo "$PCRECONF_VERSION" >&6; } |
|
17609 | 17609 |
found_pcre="yes" |
17610 | 17610 |
PCRE_CPPFLAGS="`$PCRE_HOME/bin/pcre-config --cflags`" |
17611 | 17611 |
PCRE_LIBS="`$PCRE_HOME/bin/pcre-config --libs`" |
... | ... |
@@ -5746,8 +5746,8 @@ maintainer-clean-generic: |
5746 | 5746 |
@echo "This command is intended for maintainers to use" |
5747 | 5747 |
@echo "it deletes files that may require special tools to rebuild." |
5748 | 5748 |
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) |
5749 |
-@BUILD_EXTERNAL_LLVM_TRUE@distclean-local: |
|
5750 | 5749 |
@BUILD_EXTERNAL_LLVM_TRUE@clean-local: |
5750 |
+@BUILD_EXTERNAL_LLVM_TRUE@distclean-local: |
|
5751 | 5751 |
clean: clean-am |
5752 | 5752 |
|
5753 | 5753 |
clean-am: clean-generic clean-libtool clean-local \ |