4437d2f0e8
* Add optional support for PulseAudio. * Don't build nonsensical static modules. * Use OPTIONS framework.
45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
|
|
$FreeBSD$
|
|
|
|
--- configure.orig
|
|
+++ configure
|
|
@@ -20076,7 +20076,7 @@
|
|
*)
|
|
PLUGIN_LDFLAGS="-export-dynamic -avoid-version"
|
|
DEBUG="-g"
|
|
- CFLAGS="-O"
|
|
+ CFLAGS=""
|
|
PROFILE="-g -p" ;;
|
|
esac
|
|
else
|
|
@@ -20099,9 +20099,9 @@
|
|
PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore" ;;
|
|
*)
|
|
PLUGIN_LDFLAGS="-export-dynamic -avoid-version"
|
|
- DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
|
|
- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
|
|
- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
|
|
+ DEBUG="-g -Wall -fsigned-char"
|
|
+ CFLAGS="-fsigned-char"
|
|
+ PROFILE="-g -pg -fsigned-char" ;;
|
|
esac
|
|
fi
|
|
CFLAGS="$CFLAGS $cflags_save"
|
|
@@ -24840,7 +24840,7 @@
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-laudio -lXau $X_LIBS $LIBS"
|
|
+LIBS="-laudio -lXau -lXt -lm $X_LIBS $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -25055,7 +25055,7 @@
|
|
|
|
if test "x$have_nas" = xyes; then
|
|
NAS_CFLAGS="$X_CFLAGS"
|
|
- NAS_LIBS="-laudio -lXau $X_LIBS"
|
|
+ NAS_LIBS="-laudio -lXau -lXt -lm $X_LIBS"
|
|
else
|
|
NAS_CFLAGS=""
|
|
NAS_LIBS=""
|