2010-02-17 18:30:48 +01:00
|
|
|
--- configure.orig 2010-02-17 18:27:30.100106540 +0100
|
|
|
|
+++ configure 2010-02-17 18:28:13.604978268 +0100
|
|
|
|
@@ -11700,97 +11700,6 @@ $as_echo "no" >&6; }
|
2009-03-19 05:40:50 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
pkg_failed=no
|
2010-02-17 18:30:48 +01:00
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREADSTUBS" >&5
|
2009-04-16 16:09:23 +02:00
|
|
|
-$as_echo_n "checking for PTHREADSTUBS... " >&6; }
|
2009-03-19 05:40:50 +01:00
|
|
|
-
|
2010-02-17 18:30:48 +01:00
|
|
|
-if test -n "$PKG_CONFIG"; then
|
|
|
|
- if test -n "$PTHREADSTUBS_CFLAGS"; then
|
|
|
|
- pkg_cv_PTHREADSTUBS_CFLAGS="$PTHREADSTUBS_CFLAGS"
|
|
|
|
- else
|
|
|
|
- if test -n "$PKG_CONFIG" && \
|
|
|
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pthread-stubs\""; } >&5
|
2009-03-19 05:40:50 +01:00
|
|
|
- ($PKG_CONFIG --exists --print-errors "pthread-stubs") 2>&5
|
|
|
|
- ac_status=$?
|
2010-02-17 18:30:48 +01:00
|
|
|
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
|
- test $ac_status = 0; }; then
|
2009-03-19 05:40:50 +01:00
|
|
|
- pkg_cv_PTHREADSTUBS_CFLAGS=`$PKG_CONFIG --cflags "pthread-stubs" 2>/dev/null`
|
|
|
|
-else
|
|
|
|
- pkg_failed=yes
|
|
|
|
-fi
|
2010-02-17 18:30:48 +01:00
|
|
|
- fi
|
|
|
|
-else
|
|
|
|
- pkg_failed=untried
|
2009-03-19 05:40:50 +01:00
|
|
|
-fi
|
2010-02-17 18:30:48 +01:00
|
|
|
-if test -n "$PKG_CONFIG"; then
|
|
|
|
- if test -n "$PTHREADSTUBS_LIBS"; then
|
|
|
|
- pkg_cv_PTHREADSTUBS_LIBS="$PTHREADSTUBS_LIBS"
|
|
|
|
- else
|
|
|
|
- if test -n "$PKG_CONFIG" && \
|
|
|
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pthread-stubs\""; } >&5
|
2009-03-19 05:40:50 +01:00
|
|
|
- ($PKG_CONFIG --exists --print-errors "pthread-stubs") 2>&5
|
|
|
|
- ac_status=$?
|
2010-02-17 18:30:48 +01:00
|
|
|
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
|
|
- test $ac_status = 0; }; then
|
2009-03-19 05:40:50 +01:00
|
|
|
- pkg_cv_PTHREADSTUBS_LIBS=`$PKG_CONFIG --libs "pthread-stubs" 2>/dev/null`
|
|
|
|
-else
|
|
|
|
- pkg_failed=yes
|
|
|
|
-fi
|
2010-02-17 18:30:48 +01:00
|
|
|
- fi
|
|
|
|
-else
|
|
|
|
- pkg_failed=untried
|
2009-03-19 05:40:50 +01:00
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-if test $pkg_failed = yes; then
|
|
|
|
-
|
|
|
|
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
|
|
|
- _pkg_short_errors_supported=yes
|
|
|
|
-else
|
|
|
|
- _pkg_short_errors_supported=no
|
|
|
|
-fi
|
|
|
|
- if test $_pkg_short_errors_supported = yes; then
|
2010-02-17 18:30:48 +01:00
|
|
|
- PTHREADSTUBS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pthread-stubs"`
|
2009-03-19 05:40:50 +01:00
|
|
|
- else
|
2010-02-17 18:30:48 +01:00
|
|
|
- PTHREADSTUBS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pthread-stubs"`
|
2009-03-19 05:40:50 +01:00
|
|
|
- fi
|
|
|
|
- # Put the nasty error message in config.log where it belongs
|
|
|
|
- echo "$PTHREADSTUBS_PKG_ERRORS" >&5
|
|
|
|
-
|
2010-02-17 18:30:48 +01:00
|
|
|
- as_fn_error "Package requirements (pthread-stubs) were not met:
|
2009-12-07 10:46:34 +01:00
|
|
|
-
|
|
|
|
-$PTHREADSTUBS_PKG_ERRORS
|
|
|
|
-
|
|
|
|
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
|
|
|
-installed software in a non-standard prefix.
|
|
|
|
-
|
|
|
|
-Alternatively, you may set the environment variables PTHREADSTUBS_CFLAGS
|
|
|
|
-and PTHREADSTUBS_LIBS to avoid the need to call pkg-config.
|
|
|
|
-See the pkg-config man page for more details.
|
2010-02-17 18:30:48 +01:00
|
|
|
-" "$LINENO" 5
|
2009-03-19 05:40:50 +01:00
|
|
|
-elif test $pkg_failed = untried; then
|
2010-02-17 18:30:48 +01:00
|
|
|
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2009-04-16 16:09:23 +02:00
|
|
|
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2010-02-17 18:30:48 +01:00
|
|
|
-as_fn_error "The pkg-config script could not be found or is too old. Make sure it
|
2009-12-07 10:46:34 +01:00
|
|
|
-is in your PATH or set the PKG_CONFIG environment variable to the full
|
|
|
|
-path to pkg-config.
|
|
|
|
-
|
|
|
|
-Alternatively, you may set the environment variables PTHREADSTUBS_CFLAGS
|
|
|
|
-and PTHREADSTUBS_LIBS to avoid the need to call pkg-config.
|
|
|
|
-See the pkg-config man page for more details.
|
|
|
|
-
|
|
|
|
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
2010-02-17 18:30:48 +01:00
|
|
|
-See \`config.log' for more details." "$LINENO" 5; }
|
2009-03-19 05:40:50 +01:00
|
|
|
-else
|
|
|
|
- PTHREADSTUBS_CFLAGS=$pkg_cv_PTHREADSTUBS_CFLAGS
|
|
|
|
- PTHREADSTUBS_LIBS=$pkg_cv_PTHREADSTUBS_LIBS
|
2010-02-17 18:30:48 +01:00
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2009-04-16 16:09:23 +02:00
|
|
|
-$as_echo "yes" >&6; }
|
2009-03-19 05:40:50 +01:00
|
|
|
- :
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-
|
2009-12-07 10:46:34 +01:00
|
|
|
-
|
2009-03-19 05:40:50 +01:00
|
|
|
pkgconfigdir=${libdir}/pkgconfig
|
|
|
|
|
2009-12-07 10:46:34 +01:00
|
|
|
# Check whether --enable-udev was given.
|