X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=5cbcc8be81199fe4cdfc9a1b19aebe423d789f78;hb=refs%2Fheads%2Fmaster;hp=5e82c4ab7fb9ce0b831f4072073daa254c78d0f9;hpb=2e059c63fa9891216326fd0d4e320851418d25c8;p=m17n%2Flibotf.git diff --git a/configure.ac b/configure.ac index 5e82c4a..5cbcc8b 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl Autoconf script for libotf. dnl Process this file with autoconf to produce a configure script. -dnl Copyright (C) 2003, 2004, 2005 +dnl Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 dnl National Institute of Advanced Industrial Science and Technology (AIST) dnl Registration Number H15PRO167 @@ -23,8 +23,8 @@ dnl License along with this library, in a file named COPYING; if not, dnl write to the Free Software Foundation, Inc., 59 Temple Place, Suite dnl 330, Boston, MA 02111-1307, USA. -AC_INIT(libotf, 0.9.4, handa@m17n.org) -AM_INIT_AUTOMAKE(libotf, 0.9.4) +AC_INIT(libotf, 0.9.13, handa@m17n.org) +AM_INIT_AUTOMAKE(libotf, 0.9.13) AM_CONFIG_HEADER(src/config.h) # Checks for programs. @@ -38,7 +38,9 @@ AC_PATH_XTRA AC_HEADER_STDC AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h]) -AC_CHECK_HEADER(X11/Xaw/Command.h, , no_x=yes) +AC_CHECK_HEADERS([X11/Xaw/Command.h], , no_x=yes) + +AM_CONDITIONAL([X11_UNAVAILABLE], [test x$no_x = xyes]) # Checks for typedefs, structures, and compiler characteristics. @@ -65,6 +67,8 @@ if test "x$HAVE_FREETYPE" != "xyes" ; then echo "Freetype library wan't found in your system!" exit 1 fi +AC_SUBST(FREETYPE_INC) +AC_SUBST(FREETYPE_LD_FLAGS) if test "x$no_x" != "xyes"; then X11_XT_XAW_XMU="-lX11 -lXt -lXaw -lXmu" @@ -83,5 +87,6 @@ if test "x$HAVE_ALPHASORT" = "xyes"; then [Define to 1 if you have alphasort function.]) fi -AC_CONFIG_FILES([Makefile src/Makefile example/Makefile libotf-config]) +AC_CONFIG_FILES([Makefile src/Makefile example/Makefile + libotf-config libotf.pc]) AC_OUTPUT