Ignore:
Timestamp:
Apr 25, 2006, 12:10:38 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Removed my previously introduced --enable-pangoft2 and replaced it with a nicer cross compilation check.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r866 r867  
    3131AC_EGREP_CPP(yes, foo)
    3232PKG_PROG_PKG_CONFIG()
     33m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
     34if test "$build" != "$host" -a "${PKG_CONFIG_LIBDIR}" = ""; then
     35  export PKG_CONFIG_LIBDIR=/dev/null
     36fi
    3337
    3438dnl output driver features
     
    6165AC_ARG_ENABLE(doc,
    6266  [  --enable-doc            build documentation (needs doxygen and LaTeX)])
    63 AC_ARG_ENABLE(pangoft2,
    64   [  --enable-pangoft2       build font generator tool (autodetected)])
    6567
    6668AC_CHECK_HEADERS(stdio.h stdarg.h signal.h sys/ioctl.h sys/time.h inttypes.h endian.h unistd.h arpa/inet.h netinet/in.h winsock2.h)
     
    276278# Build development tools?
    277279PANGOFT2="no"
    278 if test "${enable_pangoft2}" != "no"; then
    279   PKG_CHECK_MODULES(pangoft2, pangoft2, [PANGOFT2="yes"], [AC_MSG_RESULT(no)])
    280 fi
     280PKG_CHECK_MODULES(pangoft2, pangoft2, [PANGOFT2="yes"], [AC_MSG_RESULT(no)])
    281281AM_CONDITIONAL(USE_PANGO, test "${PANGOFT2}" != "no")
    282282
Note: See TracChangeset for help on using the changeset viewer.