diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-19 13:59:30 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-19 13:59:30 +0000 |
commit | 0b7b2c69ec83497d9accab064da0f4ad07662d42 (patch) | |
tree | e8f22a2acecbf3035850f56beb1c8161c53cdf2d /Build/source/texk/cjkutils/configure.in.orig | |
parent | ee507bbd1fc483c58acb33cca25509a4dd81df9b (diff) |
prepare for new build system
git-svn-id: svn://tug.org/texlive/trunk@12429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/cjkutils/configure.in.orig')
-rw-r--r-- | Build/source/texk/cjkutils/configure.in.orig | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Build/source/texk/cjkutils/configure.in.orig b/Build/source/texk/cjkutils/configure.in.orig new file mode 100644 index 00000000000..9e190434224 --- /dev/null +++ b/Build/source/texk/cjkutils/configure.in.orig @@ -0,0 +1,58 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(hbf2gf/hbf.h) + +AC_CONFIG_HEADERS([hbf2gf/c-auto.h:hbf2gf/c-auto.in]) + +dnl check host +AC_CANONICAL_SYSTEM +AC_PROG_MAKE_SET + + +dnl Checks for programs. +AC_PROG_CC + + +dnl Checks for header files. +AC_HEADER_STDC + + +dnl get Compiler flags right. +if test "x$CC" = xgcc; then + XX_CFLAGS="-Wall" +else + case "$host" in + alpha-dec-osf*) + XX_CFLAGS="-std1 -O2 -g3" + ;; + *) + XX_CFLAGS= + ;; + esac +fi +AC_SUBST(XX_CFLAGS) + + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_STRUCT_TM + + +dnl Checks for library functions. +AC_FUNC_VPRINTF +AC_CHECK_FUNCS(strdup strstr strtol strtoul) + +dnl we need this for hbf.c +if test "x$ac_cv_func_strdup" = xno; then + no_strdup=-DNO_STRDUP +fi +AC_SUBST(no_strdup) + +AC_CHECK_PROG(RM, rm, rm) +AC_PROG_INSTALL + +sinclude(../kpathsea/withenable.ac) + +AC_CONFIG_FILES([Makefile]) +KPSE_CONFIG_FILES([conv/Makefile hbf2gf/Makefile scripts/Makefile]) +AC_OUTPUT +date >stamp-auto |