Browse Source

* Removed my previously introduced --enable-pangoft2 and replaced it with

a nicer cross compilation check.
tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
69dd5d5017
2 changed files with 6 additions and 6 deletions
  1. +1
    -1
      build-win32
  2. +5
    -5
      configure.ac

+ 1
- 1
build-win32 View File

@@ -14,7 +14,7 @@ rm -f "${DIRNAME}.zip"
mkdir "${DIRNAME}"

# Build for win32
./configure --host=i586-mingw32msvc --prefix=/ --bindir=/bin --libdir=/lib --disable-imlib2 --disable-doc --disable-pangoft2
./configure --host=i586-mingw32msvc --prefix=/ --bindir=/bin --libdir=/lib --disable-imlib2 --disable-doc
make pkglibdir=/lib pkgdatadir=/data bindir=/bin

# Install into our private directory


+ 5
- 5
configure.ac View File

@@ -30,6 +30,10 @@ dnl now otherwise it might be set in an obscure if statement. Same thing for
dnl PKG_PROG_PKG_CONFIG which needs to be called first.
AC_EGREP_CPP(yes, foo)
PKG_PROG_PKG_CONFIG()
m4_pattern_allow([^PKG_CONFIG_LIBDIR$])
if test "$build" != "$host" -a "${PKG_CONFIG_LIBDIR}" = ""; then
export PKG_CONFIG_LIBDIR=/dev/null
fi

dnl output driver features
AC_ARG_ENABLE(slang,
@@ -60,8 +64,6 @@ AC_ARG_ENABLE(imlib2,
dnl conditional builds
AC_ARG_ENABLE(doc,
[ --enable-doc build documentation (needs doxygen and LaTeX)])
AC_ARG_ENABLE(pangoft2,
[ --enable-pangoft2 build font generator tool (autodetected)])

AC_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)
AC_CHECK_FUNCS(signal ioctl vsnprintf getenv putenv strcasecmp htons)
@@ -275,9 +277,7 @@ AM_CONDITIONAL(USE_IMLIB2, test "${ac_cv_my_have_imlib2}" = "yes")

# Build development tools?
PANGOFT2="no"
if test "${enable_pangoft2}" != "no"; then
PKG_CHECK_MODULES(pangoft2, pangoft2, [PANGOFT2="yes"], [AC_MSG_RESULT(no)])
fi
PKG_CHECK_MODULES(pangoft2, pangoft2, [PANGOFT2="yes"], [AC_MSG_RESULT(no)])
AM_CONDITIONAL(USE_PANGO, test "${PANGOFT2}" != "no")

# Build documentation?


Loading…
Cancel
Save