2011-01-29 21:32:53 +01:00
|
|
|
Index: configure.ac
|
|
|
|
===================================================================
|
2024-02-23 11:22:54 +01:00
|
|
|
--- libcaca/configure.ac
|
|
|
|
+++ libcaca-new/configure.ac
|
2022-11-16 15:17:39 +01:00
|
|
|
@@ -225,7 +225,7 @@ if test "${enable_x11}" != "no"; then
|
2007-01-16 00:21:31 +01:00
|
|
|
AC_CHECK_LIB(X11, XOpenDisplay,
|
|
|
|
[ac_cv_my_have_x11="yes"
|
|
|
|
if test -n "${x_includes}"; then X_CFLAGS="-I${x_includes}"; fi
|
2008-06-26 15:55:14 +02:00
|
|
|
- if test -n "${x_libraries}"; then X_LIBS="-L${x_libraries}"; fi
|
|
|
|
+ if test -n "${x_libraries}" -a "${x_libraries}" != "/usr"; then X_LIBS="-L${x_libraries}"; fi
|
|
|
|
AC_DEFINE(USE_X11, 1, Define to 1 to activate the X11 backend driver)
|
2007-01-16 00:21:31 +01:00
|
|
|
CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
|
2008-06-26 15:55:14 +02:00
|
|
|
X11_LIBS="${X11_LIBS} -lX11 ${X_LIBS}"
|