Ignore:
Timestamp:
May 31, 2006, 4:08:58 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fix a build failure when X11R7 is available but OpenGL isn't.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r992 r994  
    147147   [ac_cv_my_have_x11="yes"
    148148    if test -n "${x_includes}"; then X_CFLAGS="-I${x_includes}"; fi
    149     if test -n "${x_libraries}"; then X_LIBS="-lX11 -L${x_libraries}"; fi
     149    if test -n "${x_libraries}"; then X_LIBS="-L${x_libraries}"; fi
    150150    AC_DEFINE(USE_X11, 1, Define to 1 to activate the X11 backend driver)
    151151    CPPFLAGS="${CPPFLAGS} ${X_CFLAGS}"
    152     CACA_LIBS="${CACA_LIBS} ${X_LIBS}"
     152    CACA_LIBS="${CACA_LIBS} -lX11 ${X_LIBS}"
    153153    CACA_DRIVERS="${CACA_DRIVERS} x11"],
    154154   [ac_cv_my_have_x11="no"],
Note: See TracChangeset for help on using the changeset viewer.