# HG changeset patch # User diego # Date 1316794095 0 # Node ID 02ffd25c7733181571ab99c8e8d92986a62547f5 # Parent 4282458d64bc4fa97d8d2536af9194e1c5904112 configure: drop extra standard compiler/linker flags for *BSD systems Adding the standard library locations to the search path is doubtful behavior and unnecessary at least on FreeBSD. diff -r 4282458d64bc -r 02ffd25c7733 configure --- a/configure Fri Sep 23 14:26:24 2011 +0000 +++ b/configure Fri Sep 23 16:08:15 2011 +0000 @@ -1506,15 +1506,6 @@ extra_ldflags="-lm $extra_ldflags" _timer=timer-linux.c _getch=getch2.c -if freebsd ; then - extra_ldflags="$extra_ldflags -L/usr/local/lib" - extra_cflags="$extra_cflags -I/usr/local/include" -fi - -if netbsd || dragonfly ; then - extra_ldflags="$extra_ldflags -L/usr/pkg/lib" - extra_cflags="$extra_cflags -I/usr/pkg/include" -fi if darwin; then extra_cflags="-mdynamic-no-pic $extra_cflags"