#13 Patch to fix compilation on FreeBSD

open
nobody
None
5
2005-06-19
2005-06-19
Anonymous
No

This patch to configure.in fixes compilation on
FreeBSD. It was tested on a CVS snapshot checked out on
June 16th.

@@ -42,7 +42,7 @@
NFLAGS="$NFLAGS -D__LINUX__
-D__FreeBSD__ -D__OpenBSD__ -f aoutb
"
;;
*-*-*bsd*)
- CFLAGS="$CFLAGS -D__LINUX__ -D__FreeBSD__"
+ CFLAGS="$CFLAGS -I/usr/X11R6/include
-D__LINUX__ -D__FreeBSD__"
NFLAGS="$NFLAGS -D__LINUX__
-D__FreeBSD__ -DELF -f elf"
;;
*-*-cygwin* | *-*-*ming*)

Discussion