# HG changeset patch # User nexus # Date 1007395030 0 # Node ID 73de2c85844db654c79f121dedd45e462178f341 # Parent 334bae48841baed1e03e1dc7674e0b5579914d17 FreeBSD install nas* to /usr/X11 by default (and require -lm) diff -r 334bae48841b -r 73de2c85844d configure --- a/configure Mon Dec 03 15:30:06 2001 +0000 +++ b/configure Mon Dec 03 15:57:10 2001 +0000 @@ -1799,7 +1799,7 @@ int main(void) { return 0; } EOF _nas=no - cc_check -laudio -lX11 -lXt -L$_x11libdir && _nas=yes + cc_check -laudio -lX11 -lXt -lm -I$_x11incdir -L$_x11libdir && _nas=yes fi if test "$_nas" = yes ; then _def_nas='#define HAVE_NAS 1' diff -r 334bae48841b -r 73de2c85844d libao2/Makefile --- a/libao2/Makefile Mon Dec 03 15:30:06 2001 +0000 +++ b/libao2/Makefile Mon Dec 03 15:57:10 2001 +0000 @@ -7,7 +7,7 @@ SRCS=afmt.c audio_out.c ao_mpegpes.c ao_null.c ao_pcm.c ao_plugin.c pl_delay.c pl_format.c $(OPTIONAL_SRCS) OBJS=$(SRCS:.c=.o) -CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(EXTRA_INC) +CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) .SUFFIXES: .c .o