diff options
-rw-r--r-- | Makefile.bsd-wrapper | 3 | ||||
-rw-r--r-- | configure.ac | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.bsd-wrapper b/Makefile.bsd-wrapper new file mode 100644 index 0000000..136b2e6 --- /dev/null +++ b/Makefile.bsd-wrapper @@ -0,0 +1,3 @@ +# $OpenBSD: Makefile.bsd-wrapper,v 1.2 2006/11/27 19:27:26 matthieu Exp $ + +.include <bsd.xorg.mk> diff --git a/configure.ac b/configure.ac index 8f90fa4..aaf2102 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,10 @@ XORG_MACROS_VERSION(1.8) XORG_DEFAULT_OPTIONS # Checks for pkg-config packages -PKG_CHECK_MODULES(XDRIINFO, x11 glproto) +PKG_CHECK_MODULES(XDRIINFO, x11 xext glproto) + +# libGL depends on libm +XDRIINFO_LIBS="${XDRIINFO_LIBS} -lm" # Checks for non-pkg-config packages (Mesa or vendor OpenGL) AC_SEARCH_LIBS([glXGetProcAddressARB], [GL], [], |