mirror of https://github.com/encounter/SDL.git
Applied DragonFly BSD patch
https://github.com/DragonFlyBSD/DeltaPorts/blob/master/ports/devel/sdl20/dragonfly/patch-configure
This commit is contained in:
parent
21100006ad
commit
6926ff3cd8
|
@ -26390,7 +26390,7 @@ CheckInotify()
|
||||||
{
|
{
|
||||||
save_LIBS="$LIBS"
|
save_LIBS="$LIBS"
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-freebsd*) LIBS="$LIBS -linotify"
|
*-*-freebsd*|*-*dragonfly*) LIBS="$LIBS -linotify"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
for ac_header in sys/inotify.h
|
for ac_header in sys/inotify.h
|
||||||
|
@ -26426,7 +26426,7 @@ fi
|
||||||
printf "%s\n" "#define HAVE_INOTIFY 1" >>confdefs.h
|
printf "%s\n" "#define HAVE_INOTIFY 1" >>confdefs.h
|
||||||
|
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-freebsd*)
|
*-*-freebsd*|*-*-dragonfly*)
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -linotify"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -linotify"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -2837,7 +2837,7 @@ CheckInotify()
|
||||||
{
|
{
|
||||||
save_LIBS="$LIBS"
|
save_LIBS="$LIBS"
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-freebsd*) LIBS="$LIBS -linotify"
|
*-*-freebsd*|*-*dragonfly*) LIBS="$LIBS -linotify"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
AC_CHECK_HEADERS(sys/inotify.h, [have_inotify_inotify_h_hdr=yes])
|
AC_CHECK_HEADERS(sys/inotify.h, [have_inotify_inotify_h_hdr=yes])
|
||||||
|
@ -2846,7 +2846,7 @@ CheckInotify()
|
||||||
if test x$have_inotify_inotify_h_hdr = xyes -a x$have_inotify = xyes; then
|
if test x$have_inotify_inotify_h_hdr = xyes -a x$have_inotify = xyes; then
|
||||||
AC_DEFINE(HAVE_INOTIFY, 1, [ ])
|
AC_DEFINE(HAVE_INOTIFY, 1, [ ])
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-freebsd*)
|
*-*-freebsd*|*-*-dragonfly*)
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -linotify"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -linotify"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue