diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-12-21 14:33:10 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-12-21 14:33:10 +0000 |
commit | f6f1ff9d851efde5d6a2c556ad6adfe5cd86375e (patch) | |
tree | 5baa9d51b58eac1b858f0205de37a4a8a17d6c87 /Build/source/utils | |
parent | 3dcdc887a16bca462dc75ab4ac28319b61802c5e (diff) |
minor build fixes
git-svn-id: svn://tug.org/texlive/trunk@16470 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils')
-rw-r--r-- | Build/source/utils/xindy-new/ChangeLog | 9 | ||||
-rwxr-xr-x | Build/source/utils/xindy-new/configure | 17 | ||||
-rw-r--r-- | Build/source/utils/xindy-new/configure.ac | 8 | ||||
-rw-r--r-- | Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/TL-Changes | 2 |
4 files changed, 28 insertions, 8 deletions
diff --git a/Build/source/utils/xindy-new/ChangeLog b/Build/source/utils/xindy-new/ChangeLog index e8c0067cb72..07c7483e199 100644 --- a/Build/source/utils/xindy-new/ChangeLog +++ b/Build/source/utils/xindy-new/ChangeLog @@ -1,3 +1,12 @@ +2009-12-19 Peter Breitenlohner <peb@mppmu.mpg.de> + + * configure.ac: Remove test for strrchr(), require strtoul(). + +2009-12-17 Peter Breitenlohner <peb@mppmu.mpg.de> + + * configure.ac (AC_CONFIG_FILES): + Remove make-rules/alphabets/*/Makefile (compare patch-50). + 2009-12-03 Peter Breitenlohner <peb@mppmu.mpg.de> Imported http://www.xindy.org/xindy-2.4-pre2.tar.gz. diff --git a/Build/source/utils/xindy-new/configure b/Build/source/utils/xindy-new/configure index 1eaad1b5da4..7779c5dc9c2 100755 --- a/Build/source/utils/xindy-new/configure +++ b/Build/source/utils/xindy-new/configure @@ -4052,19 +4052,24 @@ else fi +# No checks for header files. We use stdio.h, unistd.h, and string.h. +# Today, they are universally available if a C compiler is installed. + # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. -for ac_func in strrchr strtoul +# The code in tex2indy.l simply assumes that strtoul() is there, would +# need a replacement. +for ac_func in strtoul do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -eval as_val=\$$as_ac_var - if test "x$as_val" = x""yes; then : + ac_fn_c_check_func "$LINENO" "strtoul" "ac_cv_func_strtoul" +if test "x$ac_cv_func_strtoul" = x""yes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_STRTOUL 1 _ACEOF +else + as_fn_error "strtoul() is needed" "$LINENO" 5 fi done diff --git a/Build/source/utils/xindy-new/configure.ac b/Build/source/utils/xindy-new/configure.ac index 6856416ec61..6fdee54ffdc 100644 --- a/Build/source/utils/xindy-new/configure.ac +++ b/Build/source/utils/xindy-new/configure.ac @@ -118,10 +118,16 @@ else fi AC_SUBST([CONVERT_FROM_UTF8]) +# No checks for header files. We use stdio.h, unistd.h, and string.h. +# Today, they are universally available if a C compiler is installed. + # Checks for typedefs, structures, and compiler characteristics. # Checks for library functions. -AC_CHECK_FUNCS([strrchr strtoul]) +# The code in tex2indy.l simply assumes that strtoul() is there, would +# need a replacement. +AC_CHECK_FUNCS([strtoul], [], + [AC_MSG_ERROR([strtoul() is needed])]) echo timestamp >config.force fi diff --git a/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/TL-Changes b/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/TL-Changes index b931dd38582..a9a55d336ca 100644 --- a/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/TL-Changes +++ b/Build/source/utils/xindy-new/xindy-2.4-pre2-PATCHES/TL-Changes @@ -16,8 +16,8 @@ Moved user-commands/texindy => user-commands/texindy.in and removed execute permissions. Removed: - make-rules/alphabets/*/Makefile.in make-rules/alphabets/*/*.xdy + modules/*/{,*/}Makefile.{am,in} Removed: make-rules/alphabets/*/*.xdy |