Add OpenBSD header/ldflags

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14286 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-08-16 03:12:17 +00:00
parent 5d970ad3d3
commit 8346cb025d
3 changed files with 25 additions and 28 deletions

View file

@ -1,3 +1,8 @@
2002-08-15 Adam Fedor <fedor@gnu.org>
* configure.ac: Add OpenBSD header/ldflag support (Patch from
Peter Cooper). Cleanup freebsd support.
Fri Aug 9 12:12:18 2002 Georg Fleischmann <georg@vhf.de>
* Source/NSWindow.m ([-setFrameFromString:]),

24
configure vendored
View file

@ -1332,6 +1332,16 @@ fi
CPPFLAGS="$CPPFLAGS -I$GNUSTEP_HDIR"
LDFLAGS="$LDFLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR"
#--------------------------------------------------------------------
# Add target OS directories as necessary
#--------------------------------------------------------------------
case "$target_os" in
freebsd*) CPPFLAGS="$CPPFLAGS -I/usr/pkg/include"
LDFLAGS="$LDFLAGS -L/usr/pkg/lib";;
netbsd*) CPPFLAGS="$CPPFLAGS -I/usr/pkg/include"
LDFLAGS="$LDFLAGS -L/usr/pkg/lib";;
esac
#--------------------------------------------------------------------
# Find the compiler
#--------------------------------------------------------------------
@ -2456,13 +2466,6 @@ else
with_jpeg_include=
fi;
if test "$with_jpeg_library" = ""; then
case "$target_os" in
freebsd*) with_jpeg_include="/usr/local/include"
with_jpeg_library="/usr/local/lib";;
esac
fi
if test -n "$with_jpeg_library"; then
with_jpeg_library="-L$with_jpeg_library"
fi
@ -2603,13 +2606,6 @@ else
with_tiff_include=
fi;
if test "$with_tiff_library" = ""; then
case "$target_os" in
freebsd*) with_tiff_include="/usr/local/include"
with_tiff_library="/usr/local/lib";;
esac
fi
if test -n "$with_tiff_library"; then
with_tiff_library="-L$with_tiff_library"
fi

View file

@ -58,6 +58,16 @@ fi
CPPFLAGS="$CPPFLAGS -I$GNUSTEP_HDIR"
LDFLAGS="$LDFLAGS -L$GNUSTEP_LDIR/$LIBRARY_COMBO -L$GNUSTEP_LDIR"
#--------------------------------------------------------------------
# Add target OS directories as necessary
#--------------------------------------------------------------------
case "$target_os" in
freebsd*) CPPFLAGS="$CPPFLAGS -I/usr/pkg/include"
LDFLAGS="$LDFLAGS -L/usr/pkg/lib";;
netbsd*) CPPFLAGS="$CPPFLAGS -I/usr/pkg/include"
LDFLAGS="$LDFLAGS -L/usr/pkg/lib";;
esac
#--------------------------------------------------------------------
# Find the compiler
#--------------------------------------------------------------------
@ -81,13 +91,6 @@ AC_ARG_WITH(jpeg_include,
[ --with-jpeg-include=DIR JPEG include files are in DIR], ,
with_jpeg_include=)
if test "$with_jpeg_library" = ""; then
case "$target_os" in
freebsd*) with_jpeg_include="/usr/local/include"
with_jpeg_library="/usr/local/lib";;
esac
fi
if test -n "$with_jpeg_library"; then
with_jpeg_library="-L$with_jpeg_library"
fi
@ -132,13 +135,6 @@ AC_ARG_WITH(tiff_include,
[ --with-tiff-include=DIR TIFF include files are in DIR], ,
with_tiff_include=)
if test "$with_tiff_library" = ""; then
case "$target_os" in
freebsd*) with_tiff_include="/usr/local/include"
with_tiff_library="/usr/local/lib";;
esac
fi
if test -n "$with_tiff_library"; then
with_tiff_library="-L$with_tiff_library"
fi