Workaround for broken artsc-config script (based on a patch by

stirling@kc.rr.com).
This commit is contained in:
Alexandre Julliard 2004-02-09 21:09:37 +00:00
parent 89ef25e218
commit 2676973fdc
2 changed files with 4 additions and 6 deletions

8
configure vendored
View File

@ -11188,7 +11188,7 @@ fi
if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
then
ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
ARTSC_CFLAGS=`$ARTSCCONFIG --cflags | sed 's/\-pthread//'`
ARTSC_LIBS=`$ARTSCCONFIG --libs`
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $ARTSC_CFLAGS"
@ -17329,10 +17329,8 @@ See \`config.log' for more details." >&2;}
esac
else
if test "$cross_compiling" = yes; then
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
See \`config.log' for more details." >&5
echo "$as_me: error: cannot run test program while cross compiling
See \`config.log' for more details." >&2;}
{ { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
{ (exit 1); exit 1; }; }
else
cat >conftest.$ac_ext <<_ACEOF

View File

@ -602,7 +602,7 @@ dnl **** Check for aRts Sound Server ****
AC_PATH_PROG(ARTSCCONFIG, artsc-config)
if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
then
ARTSC_CFLAGS=`$ARTSCCONFIG --cflags`
ARTSC_CFLAGS=`$ARTSCCONFIG --cflags | sed 's/\-pthread//'`
ARTSC_LIBS=`$ARTSCCONFIG --libs`
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $ARTSC_CFLAGS"