changeset 34040:02ffd25c7733

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.
author diego
date Fri, 23 Sep 2011 16:08:15 +0000
parents 4282458d64bc
children fa1844bcdbc6
files configure
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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"