26 changed files with 1581 additions and 199 deletions
@ -1,24 +0,0 @@ |
|||
# Replacements for autoconf 2.59 and older |
|||
# Please make official source tarballs with recent autoconf only. |
|||
# Copyright (C) 2006 Rémi Denis-Courmont. |
|||
# Distribution and usage of this file, verbatim or modified, is permitted |
|||
# with no limitations. |
|||
|
|||
AC_DEFUN([AC_PROG_CC_C99], |
|||
[ AC_REQUIRE([AC_PROG_CC])dnl |
|||
CC="$CC -std=gnu99" |
|||
]) |
|||
|
|||
AC_DEFUN([AC_PROG_OBJC], [ |
|||
AC_MSG_CHECKING(for an Objective-C compiler) |
|||
OBJC="${CXX}" |
|||
AC_SUBST(OBJC) |
|||
OBJCFLAGS="${CXXFLAGS} -fgnu-runtime -fconstant-string-class=NSConstantString" |
|||
AC_SUBST(OBJCFLAGS) |
|||
|
|||
]) |
|||
|
|||
AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], |
|||
[ AC_DEFINE([_GNU_SOURCE], [ ], [Enable lots of stuff with glibc.]) |
|||
]) |
|||
|
|||
@ -1,19 +0,0 @@ |
|||
gettext.m4 |
|||
glibc2.m4 |
|||
iconv.m4 |
|||
intdiv0.m4 |
|||
intl.m4 |
|||
intmax.m4 |
|||
lib-link.m4 |
|||
lock.m4 |
|||
longdouble.m4 |
|||
longlong.m4 |
|||
nls.m4 |
|||
po.m4 |
|||
printf-posix.m4 |
|||
private.m4 |
|||
size_max.m4 |
|||
uintmax_t.m4 |
|||
wchar_t.m4 |
|||
wint_t.m4 |
|||
xsize.m4 |
|||
@ -0,0 +1,30 @@ |
|||
# glibc2.m4 serial 1 |
|||
dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
|
|||
# Test for the GNU C Library, version 2.0 or newer. |
|||
# From Bruno Haible. |
|||
|
|||
AC_DEFUN([gt_GLIBC2], |
|||
[ |
|||
AC_CACHE_CHECK(whether we are using the GNU C Library 2 or newer, |
|||
ac_cv_gnu_library_2, |
|||
[AC_EGREP_CPP([Lucky GNU user], |
|||
[ |
|||
#include <features.h> |
|||
#ifdef __GNU_LIBRARY__ |
|||
#if (__GLIBC__ >= 2) |
|||
Lucky GNU user |
|||
#endif |
|||
#endif |
|||
], |
|||
ac_cv_gnu_library_2=yes, |
|||
ac_cv_gnu_library_2=no) |
|||
] |
|||
) |
|||
AC_SUBST(GLIBC2) |
|||
GLIBC2="$ac_cv_gnu_library_2" |
|||
] |
|||
) |
|||
@ -0,0 +1,51 @@ |
|||
# intlmacosx.m4 serial 1 (gettext-0.17) |
|||
dnl Copyright (C) 2004-2007 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
dnl |
|||
dnl This file can can be used in projects which are not available under |
|||
dnl the GNU General Public License or the GNU Library General Public |
|||
dnl License but which still want to provide support for the GNU gettext |
|||
dnl functionality. |
|||
dnl Please note that the actual code of the GNU gettext library is covered |
|||
dnl by the GNU Library General Public License, and the rest of the GNU |
|||
dnl gettext package package is covered by the GNU General Public License. |
|||
dnl They are *not* in the public domain. |
|||
|
|||
dnl Checks for special options needed on MacOS X. |
|||
dnl Defines INTL_MACOSX_LIBS. |
|||
AC_DEFUN([gt_INTL_MACOSX], |
|||
[ |
|||
dnl Check for API introduced in MacOS X 10.2. |
|||
AC_CACHE_CHECK([for CFPreferencesCopyAppValue], |
|||
gt_cv_func_CFPreferencesCopyAppValue, |
|||
[gt_save_LIBS="$LIBS" |
|||
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
|||
AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>], |
|||
[CFPreferencesCopyAppValue(NULL, NULL)], |
|||
[gt_cv_func_CFPreferencesCopyAppValue=yes], |
|||
[gt_cv_func_CFPreferencesCopyAppValue=no]) |
|||
LIBS="$gt_save_LIBS"]) |
|||
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then |
|||
AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1, |
|||
[Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) |
|||
fi |
|||
dnl Check for API introduced in MacOS X 10.3. |
|||
AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent, |
|||
[gt_save_LIBS="$LIBS" |
|||
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" |
|||
AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();], |
|||
[gt_cv_func_CFLocaleCopyCurrent=yes], |
|||
[gt_cv_func_CFLocaleCopyCurrent=no]) |
|||
LIBS="$gt_save_LIBS"]) |
|||
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
|||
AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1, |
|||
[Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) |
|||
fi |
|||
INTL_MACOSX_LIBS= |
|||
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then |
|||
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" |
|||
fi |
|||
AC_SUBST([INTL_MACOSX_LIBS]) |
|||
]) |
|||
@ -0,0 +1,33 @@ |
|||
# intmax.m4 serial 3 (gettext-0.16) |
|||
dnl Copyright (C) 2002-2005 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
|
|||
dnl From Bruno Haible. |
|||
dnl Test whether the system has the 'intmax_t' type, but don't attempt to |
|||
dnl find a replacement if it is lacking. |
|||
|
|||
AC_DEFUN([gt_TYPE_INTMAX_T], |
|||
[ |
|||
AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) |
|||
AC_REQUIRE([gl_AC_HEADER_STDINT_H]) |
|||
AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t, |
|||
[AC_TRY_COMPILE([ |
|||
#include <stddef.h> |
|||
#include <stdlib.h> |
|||
#if HAVE_STDINT_H_WITH_UINTMAX |
|||
#include <stdint.h> |
|||
#endif |
|||
#if HAVE_INTTYPES_H_WITH_UINTMAX |
|||
#include <inttypes.h> |
|||
#endif |
|||
], [intmax_t x = -1; |
|||
return !x;], |
|||
gt_cv_c_intmax_t=yes, |
|||
gt_cv_c_intmax_t=no)]) |
|||
if test $gt_cv_c_intmax_t = yes; then |
|||
AC_DEFINE(HAVE_INTMAX_T, 1, |
|||
[Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>.]) |
|||
fi |
|||
]) |
|||
@ -0,0 +1,31 @@ |
|||
# longdouble.m4 serial 2 (gettext-0.15) |
|||
dnl Copyright (C) 2002-2003, 2006 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
|
|||
dnl From Bruno Haible. |
|||
dnl Test whether the compiler supports the 'long double' type. |
|||
dnl Prerequisite: AC_PROG_CC |
|||
|
|||
dnl This file is only needed in autoconf <= 2.59. Newer versions of autoconf |
|||
dnl have a macro AC_TYPE_LONG_DOUBLE with identical semantics. |
|||
|
|||
AC_DEFUN([gt_TYPE_LONGDOUBLE], |
|||
[ |
|||
AC_CACHE_CHECK([for long double], gt_cv_c_long_double, |
|||
[if test "$GCC" = yes; then |
|||
gt_cv_c_long_double=yes |
|||
else |
|||
AC_TRY_COMPILE([ |
|||
/* The Stardent Vistra knows sizeof(long double), but does not support it. */ |
|||
long double foo = 0.0; |
|||
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */ |
|||
int array [2*(sizeof(long double) >= sizeof(double)) - 1]; |
|||
], , |
|||
gt_cv_c_long_double=yes, gt_cv_c_long_double=no) |
|||
fi]) |
|||
if test $gt_cv_c_long_double = yes; then |
|||
AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.]) |
|||
fi |
|||
]) |
|||
@ -0,0 +1,109 @@ |
|||
# longlong.m4 serial 13 |
|||
dnl Copyright (C) 1999-2007 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
|
|||
dnl From Paul Eggert. |
|||
|
|||
# Define HAVE_LONG_LONG_INT if 'long long int' works. |
|||
# This fixes a bug in Autoconf 2.61, but can be removed once we |
|||
# assume 2.62 everywhere. |
|||
|
|||
# Note: If the type 'long long int' exists but is only 32 bits large |
|||
# (as on some very old compilers), HAVE_LONG_LONG_INT will not be |
|||
# defined. In this case you can treat 'long long int' like 'long int'. |
|||
|
|||
AC_DEFUN([AC_TYPE_LONG_LONG_INT], |
|||
[ |
|||
AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], |
|||
[AC_LINK_IFELSE( |
|||
[_AC_TYPE_LONG_LONG_SNIPPET], |
|||
[dnl This catches a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. |
|||
dnl If cross compiling, assume the bug isn't important, since |
|||
dnl nobody cross compiles for this platform as far as we know. |
|||
AC_RUN_IFELSE( |
|||
[AC_LANG_PROGRAM( |
|||
[[@%:@include <limits.h> |
|||
@%:@ifndef LLONG_MAX |
|||
@%:@ define HALF \ |
|||
(1LL << (sizeof (long long int) * CHAR_BIT - 2)) |
|||
@%:@ define LLONG_MAX (HALF - 1 + HALF) |
|||
@%:@endif]], |
|||
[[long long int n = 1; |
|||
int i; |
|||
for (i = 0; ; i++) |
|||
{ |
|||
long long int m = n << i; |
|||
if (m >> i != n) |
|||
return 1; |
|||
if (LLONG_MAX / 2 < m) |
|||
break; |
|||
} |
|||
return 0;]])], |
|||
[ac_cv_type_long_long_int=yes], |
|||
[ac_cv_type_long_long_int=no], |
|||
[ac_cv_type_long_long_int=yes])], |
|||
[ac_cv_type_long_long_int=no])]) |
|||
if test $ac_cv_type_long_long_int = yes; then |
|||
AC_DEFINE([HAVE_LONG_LONG_INT], 1, |
|||
[Define to 1 if the system has the type `long long int'.]) |
|||
fi |
|||
]) |
|||
|
|||
# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works. |
|||
# This fixes a bug in Autoconf 2.61, but can be removed once we |
|||
# assume 2.62 everywhere. |
|||
|
|||
# Note: If the type 'unsigned long long int' exists but is only 32 bits |
|||
# large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT |
|||
# will not be defined. In this case you can treat 'unsigned long long int' |
|||
# like 'unsigned long int'. |
|||
|
|||
AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], |
|||
[ |
|||
AC_CACHE_CHECK([for unsigned long long int], |
|||
[ac_cv_type_unsigned_long_long_int], |
|||
[AC_LINK_IFELSE( |
|||
[_AC_TYPE_LONG_LONG_SNIPPET], |
|||
[ac_cv_type_unsigned_long_long_int=yes], |
|||
[ac_cv_type_unsigned_long_long_int=no])]) |
|||
if test $ac_cv_type_unsigned_long_long_int = yes; then |
|||
AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], 1, |
|||
[Define to 1 if the system has the type `unsigned long long int'.]) |
|||
fi |
|||
]) |
|||
|
|||
# Expands to a C program that can be used to test for simultaneous support |
|||
# of 'long long' and 'unsigned long long'. We don't want to say that |
|||
# 'long long' is available if 'unsigned long long' is not, or vice versa, |
|||
# because too many programs rely on the symmetry between signed and unsigned |
|||
# integer types (excluding 'bool'). |
|||
AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], |
|||
[ |
|||
AC_LANG_PROGRAM( |
|||
[[/* Test preprocessor. */ |
|||
#if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) |
|||
error in preprocessor; |
|||
#endif |
|||
#if ! (18446744073709551615ULL <= -1ull) |
|||
error in preprocessor; |
|||
#endif |
|||
/* Test literals. */ |
|||
long long int ll = 9223372036854775807ll; |
|||
long long int nll = -9223372036854775807LL; |
|||
unsigned long long int ull = 18446744073709551615ULL; |
|||
/* Test constant expressions. */ |
|||
typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) |
|||
? 1 : -1)]; |
|||
typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 |
|||
? 1 : -1)]; |
|||
int i = 63;]], |
|||
[[/* Test availability of runtime routines for shift and division. */ |
|||
long long int llmax = 9223372036854775807ll; |
|||
unsigned long long int ullmax = 18446744073709551615ull; |
|||
return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) |
|||
| (llmax / ll) | (llmax % ll) |
|||
| (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) |
|||
| (ullmax / ull) | (ullmax % ull));]]) |
|||
]) |
|||
@ -0,0 +1,31 @@ |
|||
# nls.m4 serial 3 (gettext-0.15) |
|||
dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
dnl |
|||
dnl This file can can be used in projects which are not available under |
|||
dnl the GNU General Public License or the GNU Library General Public |
|||
dnl License but which still want to provide support for the GNU gettext |
|||
dnl functionality. |
|||
dnl Please note that the actual code of the GNU gettext library is covered |
|||
dnl by the GNU Library General Public License, and the rest of the GNU |
|||
dnl gettext package package is covered by the GNU General Public License. |
|||
dnl They are *not* in the public domain. |
|||
|
|||
dnl Authors: |
|||
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
|||
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
|||
|
|||
AC_PREREQ(2.50) |
|||
|
|||
AC_DEFUN([AM_NLS], |
|||
[ |
|||
AC_MSG_CHECKING([whether NLS is requested]) |
|||
dnl Default is enabled NLS |
|||
AC_ARG_ENABLE(nls, |
|||
[ --disable-nls do not use Native Language Support], |
|||
USE_NLS=$enableval, USE_NLS=yes) |
|||
AC_MSG_RESULT($USE_NLS) |
|||
AC_SUBST(USE_NLS) |
|||
]) |
|||
@ -0,0 +1,449 @@ |
|||
# po.m4 serial 15 (gettext-0.17) |
|||
dnl Copyright (C) 1995-2007 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
dnl |
|||
dnl This file can can be used in projects which are not available under |
|||
dnl the GNU General Public License or the GNU Library General Public |
|||
dnl License but which still want to provide support for the GNU gettext |
|||
dnl functionality. |
|||
dnl Please note that the actual code of the GNU gettext library is covered |
|||
dnl by the GNU Library General Public License, and the rest of the GNU |
|||
dnl gettext package package is covered by the GNU General Public License. |
|||
dnl They are *not* in the public domain. |
|||
|
|||
dnl Authors: |
|||
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. |
|||
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. |
|||
|
|||
AC_PREREQ(2.50) |
|||
|
|||
dnl Checks for all prerequisites of the po subdirectory. |
|||
AC_DEFUN([AM_PO_SUBDIRS], |
|||
[ |
|||
AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
|||
AC_REQUIRE([AC_PROG_INSTALL])dnl |
|||
AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake |
|||
AC_REQUIRE([AM_NLS])dnl |
|||
|
|||
dnl Release version of the gettext macros. This is used to ensure that |
|||
dnl the gettext macros and po/Makefile.in.in are in sync. |
|||
AC_SUBST([GETTEXT_MACRO_VERSION], [0.17]) |
|||
|
|||
dnl Perform the following tests also if --disable-nls has been given, |
|||
dnl because they are needed for "make dist" to work. |
|||
|
|||
dnl Search for GNU msgfmt in the PATH. |
|||
dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. |
|||
dnl The second test excludes FreeBSD msgfmt. |
|||
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, |
|||
[$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && |
|||
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], |
|||
:) |
|||
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) |
|||
|
|||
dnl Test whether it is GNU msgfmt >= 0.15. |
|||
changequote(,)dnl |
|||
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
|||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; |
|||
*) MSGFMT_015=$MSGFMT ;; |
|||
esac |
|||
changequote([,])dnl |
|||
AC_SUBST([MSGFMT_015]) |
|||
changequote(,)dnl |
|||
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
|||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; |
|||
*) GMSGFMT_015=$GMSGFMT ;; |
|||
esac |
|||
changequote([,])dnl |
|||
AC_SUBST([GMSGFMT_015]) |
|||
|
|||
dnl Search for GNU xgettext 0.12 or newer in the PATH. |
|||
dnl The first test excludes Solaris xgettext and early GNU xgettext versions. |
|||
dnl The second test excludes FreeBSD xgettext. |
|||
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, |
|||
[$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && |
|||
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], |
|||
:) |
|||
dnl Remove leftover from FreeBSD xgettext call. |
|||
rm -f messages.po |
|||
|
|||
dnl Test whether it is GNU xgettext >= 0.15. |
|||
changequote(,)dnl |
|||
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in |
|||
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; |
|||
*) XGETTEXT_015=$XGETTEXT ;; |
|||
esac |
|||
changequote([,])dnl |
|||
AC_SUBST([XGETTEXT_015]) |
|||
|
|||
dnl Search for GNU msgmerge 0.11 or newer in the PATH. |
|||
AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, |
|||
[$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) |
|||
|
|||
dnl Installation directories. |
|||
dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we |
|||
dnl have to define it here, so that it can be used in po/Makefile. |
|||
test -n "$localedir" || localedir='${datadir}/locale' |
|||
AC_SUBST([localedir]) |
|||
|
|||
dnl Support for AM_XGETTEXT_OPTION. |
|||
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= |
|||
AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) |
|||
|
|||
AC_CONFIG_COMMANDS([po-directories], [[ |
|||
for ac_file in $CONFIG_FILES; do |
|||
# Support "outfile[:infile[:infile...]]" |
|||
case "$ac_file" in |
|||
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
|||
esac |
|||
# PO directories have a Makefile.in generated from Makefile.in.in. |
|||
case "$ac_file" in */Makefile.in) |
|||
# Adjust a relative srcdir. |
|||
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` |
|||
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" |
|||
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` |
|||
# In autoconf-2.13 it is called $ac_given_srcdir. |
|||
# In autoconf-2.50 it is called $srcdir. |
|||
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" |
|||
case "$ac_given_srcdir" in |
|||
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; |
|||
/*) top_srcdir="$ac_given_srcdir" ;; |
|||
*) top_srcdir="$ac_dots$ac_given_srcdir" ;; |
|||
esac |
|||
# Treat a directory as a PO directory if and only if it has a |
|||
# POTFILES.in file. This allows packages to have multiple PO |
|||
# directories under different names or in different locations. |
|||
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then |
|||
rm -f "$ac_dir/POTFILES" |
|||
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" |
|||
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" |
|||
POMAKEFILEDEPS="POTFILES.in" |
|||
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend |
|||
# on $ac_dir but don't depend on user-specified configuration |
|||
# parameters. |
|||
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then |
|||
# The LINGUAS file contains the set of available languages. |
|||
if test -n "$OBSOLETE_ALL_LINGUAS"; then |
|||
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" |
|||
fi |
|||
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` |
|||
# Hide the ALL_LINGUAS assigment from automake < 1.5. |
|||
eval 'ALL_LINGUAS''=$ALL_LINGUAS_' |
|||
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" |
|||
else |
|||
# The set of available languages was given in configure.in. |
|||
# Hide the ALL_LINGUAS assigment from automake < 1.5. |
|||
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' |
|||
fi |
|||
# Compute POFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) |
|||
# Compute UPDATEPOFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) |
|||
# Compute DUMMYPOFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) |
|||
# Compute GMOFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) |
|||
case "$ac_given_srcdir" in |
|||
.) srcdirpre= ;; |
|||
*) srcdirpre='$(srcdir)/' ;; |
|||
esac |
|||
POFILES= |
|||
UPDATEPOFILES= |
|||
DUMMYPOFILES= |
|||
GMOFILES= |
|||
for lang in $ALL_LINGUAS; do |
|||
POFILES="$POFILES $srcdirpre$lang.po" |
|||
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" |
|||
DUMMYPOFILES="$DUMMYPOFILES $lang.nop" |
|||
GMOFILES="$GMOFILES $srcdirpre$lang.gmo" |
|||
done |
|||
# CATALOGS depends on both $ac_dir and the user's LINGUAS |
|||
# environment variable. |
|||
INST_LINGUAS= |
|||
if test -n "$ALL_LINGUAS"; then |
|||
for presentlang in $ALL_LINGUAS; do |
|||
useit=no |
|||
if test "%UNSET%" != "$LINGUAS"; then |
|||
desiredlanguages="$LINGUAS" |
|||
else |
|||
desiredlanguages="$ALL_LINGUAS" |
|||
fi |
|||
for desiredlang in $desiredlanguages; do |
|||
# Use the presentlang catalog if desiredlang is |
|||
# a. equal to presentlang, or |
|||
# b. a variant of presentlang (because in this case, |
|||
# presentlang can be used as a fallback for messages |
|||
# which are not translated in the desiredlang catalog). |
|||
case "$desiredlang" in |
|||
"$presentlang"*) useit=yes;; |
|||
esac |
|||
done |
|||
if test $useit = yes; then |
|||
INST_LINGUAS="$INST_LINGUAS $presentlang" |
|||
fi |
|||
done |
|||
fi |
|||
CATALOGS= |
|||
if test -n "$INST_LINGUAS"; then |
|||
for lang in $INST_LINGUAS; do |
|||
CATALOGS="$CATALOGS $lang.gmo" |
|||
done |
|||
fi |
|||
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" |
|||
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" |
|||
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do |
|||
if test -f "$f"; then |
|||
case "$f" in |
|||
*.orig | *.bak | *~) ;; |
|||
*) cat "$f" >> "$ac_dir/Makefile" ;; |
|||
esac |
|||
fi |
|||
done |
|||
fi |
|||
;; |
|||
esac |
|||
done]], |
|||
[# Capture the value of obsolete ALL_LINGUAS because we need it to compute |
|||
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it |
|||
# from automake < 1.5. |
|||
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' |
|||
# Capture the value of LINGUAS because we need it to compute CATALOGS. |
|||
LINGUAS="${LINGUAS-%UNSET%}" |
|||
]) |
|||
]) |
|||
|
|||
dnl Postprocesses a Makefile in a directory containing PO files. |
|||
AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], |
|||
[ |
|||
# When this code is run, in config.status, two variables have already been |
|||
# set: |
|||
# - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, |
|||
# - LINGUAS is the value of the environment variable LINGUAS at configure |
|||
# time. |
|||
|
|||
changequote(,)dnl |
|||
# Adjust a relative srcdir. |
|||
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` |
|||
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" |
|||
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` |
|||
# In autoconf-2.13 it is called $ac_given_srcdir. |
|||
# In autoconf-2.50 it is called $srcdir. |
|||
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" |
|||
case "$ac_given_srcdir" in |
|||
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; |
|||
/*) top_srcdir="$ac_given_srcdir" ;; |
|||
*) top_srcdir="$ac_dots$ac_given_srcdir" ;; |
|||
esac |
|||
|
|||
# Find a way to echo strings without interpreting backslash. |
|||
if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then |
|||
gt_echo='echo' |
|||
else |
|||
if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then |
|||
gt_echo='printf %s\n' |
|||
else |
|||
echo_func () { |
|||
cat <<EOT |
|||
$* |
|||
EOT |
|||
} |
|||
gt_echo='echo_func' |
|||
fi |
|||
fi |
|||
|
|||
# A sed script that extracts the value of VARIABLE from a Makefile. |
|||
sed_x_variable=' |
|||
# Test if the hold space is empty. |
|||
x |
|||
s/P/P/ |
|||
x |
|||
ta |
|||
# Yes it was empty. Look if we have the expected variable definition. |
|||
/^[ ]*VARIABLE[ ]*=/{ |
|||
# Seen the first line of the variable definition. |
|||
s/^[ ]*VARIABLE[ ]*=// |
|||
ba |
|||
} |
|||
bd |
|||
:a |
|||
# Here we are processing a line from the variable definition. |
|||
# Remove comment, more precisely replace it with a space. |
|||
s/#.*$/ / |
|||
# See if the line ends in a backslash. |
|||
tb |
|||
:b |
|||
s/\\$// |
|||
# Print the line, without the trailing backslash. |
|||
p |
|||
tc |
|||
# There was no trailing backslash. The end of the variable definition is |
|||
# reached. Clear the hold space. |
|||
s/^.*$// |
|||
x |
|||
bd |
|||
:c |
|||
# A trailing backslash means that the variable definition continues in the |
|||
# next line. Put a nonempty string into the hold space to indicate this. |
|||
s/^.*$/P/ |
|||
x |
|||
:d |
|||
' |
|||
changequote([,])dnl |
|||
|
|||
# Set POTFILES to the value of the Makefile variable POTFILES. |
|||
sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'` |
|||
POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"` |
|||
# Compute POTFILES_DEPS as |
|||
# $(foreach file, $(POTFILES), $(top_srcdir)/$(file)) |
|||
POTFILES_DEPS= |
|||
for file in $POTFILES; do |
|||
POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file" |
|||
done |
|||
POMAKEFILEDEPS="" |
|||
|
|||
if test -n "$OBSOLETE_ALL_LINGUAS"; then |
|||
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" |
|||
fi |
|||
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then |
|||
# The LINGUAS file contains the set of available languages. |
|||
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` |
|||
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" |
|||
else |
|||
# Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. |
|||
sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'` |
|||
ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"` |
|||
fi |
|||
# Hide the ALL_LINGUAS assigment from automake < 1.5. |
|||
eval 'ALL_LINGUAS''=$ALL_LINGUAS_' |
|||
# Compute POFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) |
|||
# Compute UPDATEPOFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) |
|||
# Compute DUMMYPOFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) |
|||
# Compute GMOFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) |
|||
# Compute PROPERTIESFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties) |
|||
# Compute CLASSFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class) |
|||
# Compute QMFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) |
|||
# Compute MSGFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) |
|||
# Compute RESOURCESDLLFILES |
|||
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll) |
|||
case "$ac_given_srcdir" in |
|||
.) srcdirpre= ;; |
|||
*) srcdirpre='$(srcdir)/' ;; |
|||
esac |
|||
POFILES= |
|||
UPDATEPOFILES= |
|||
DUMMYPOFILES= |
|||
GMOFILES= |
|||
PROPERTIESFILES= |
|||
CLASSFILES= |
|||
QMFILES= |
|||
MSGFILES= |
|||
RESOURCESDLLFILES= |
|||
for lang in $ALL_LINGUAS; do |
|||
POFILES="$POFILES $srcdirpre$lang.po" |
|||
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" |
|||
DUMMYPOFILES="$DUMMYPOFILES $lang.nop" |
|||
GMOFILES="$GMOFILES $srcdirpre$lang.gmo" |
|||
PROPERTIESFILES="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties" |
|||
CLASSFILES="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class" |
|||
QMFILES="$QMFILES $srcdirpre$lang.qm" |
|||
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` |
|||
MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" |
|||
frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` |
|||
RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll" |
|||
done |
|||
# CATALOGS depends on both $ac_dir and the user's LINGUAS |
|||
# environment variable. |
|||
INST_LINGUAS= |
|||
if test -n "$ALL_LINGUAS"; then |
|||
for presentlang in $ALL_LINGUAS; do |
|||
useit=no |
|||
if test "%UNSET%" != "$LINGUAS"; then |
|||
desiredlanguages="$LINGUAS" |
|||
else |
|||
desiredlanguages="$ALL_LINGUAS" |
|||
fi |
|||
for desiredlang in $desiredlanguages; do |
|||
# Use the presentlang catalog if desiredlang is |
|||
# a. equal to presentlang, or |
|||
# b. a variant of presentlang (because in this case, |
|||
# presentlang can be used as a fallback for messages |
|||
# which are not translated in the desiredlang catalog). |
|||
case "$desiredlang" in |
|||
"$presentlang"*) useit=yes;; |
|||
esac |
|||
done |
|||
if test $useit = yes; then |
|||
INST_LINGUAS="$INST_LINGUAS $presentlang" |
|||
fi |
|||
done |
|||
fi |
|||
CATALOGS= |
|||
JAVACATALOGS= |
|||
QTCATALOGS= |
|||
TCLCATALOGS= |
|||
CSHARPCATALOGS= |
|||
if test -n "$INST_LINGUAS"; then |
|||
for lang in $INST_LINGUAS; do |
|||
CATALOGS="$CATALOGS $lang.gmo" |
|||
JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties" |
|||
QTCATALOGS="$QTCATALOGS $lang.qm" |
|||
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` |
|||
TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" |
|||
frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` |
|||
CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll" |
|||
done |
|||
fi |
|||
|
|||
sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp" |
|||
if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then |
|||
# Add dependencies that cannot be formulated as a simple suffix rule. |
|||
for lang in $ALL_LINGUAS; do |
|||
frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` |
|||
cat >> "$ac_file.tmp" <<EOF |
|||
$frobbedlang.msg: $lang.po |
|||
@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \ |
|||
\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } |
|||
EOF |
|||
done |
|||
fi |
|||
if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then |
|||
# Add dependencies that cannot be formulated as a simple suffix rule. |
|||
for lang in $ALL_LINGUAS; do |
|||
frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` |
|||
cat >> "$ac_file.tmp" <<EOF |
|||
$frobbedlang/\$(DOMAIN).resources.dll: $lang.po |
|||
@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \ |
|||
\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; } |
|||
EOF |
|||
done |
|||
fi |
|||
if test -n "$POMAKEFILEDEPS"; then |
|||
cat >> "$ac_file.tmp" <<EOF |
|||
Makefile: $POMAKEFILEDEPS |
|||
EOF |
|||
fi |
|||
mv "$ac_file.tmp" "$ac_file" |
|||
]) |
|||
|
|||
dnl Initializes the accumulator used by AM_XGETTEXT_OPTION. |
|||
AC_DEFUN([AM_XGETTEXT_OPTION_INIT], |
|||
[ |
|||
XGETTEXT_EXTRA_OPTIONS= |
|||
]) |
|||
|
|||
dnl Registers an option to be passed to xgettext in the po subdirectory. |
|||
AC_DEFUN([AM_XGETTEXT_OPTION], |
|||
[ |
|||
AC_REQUIRE([AM_XGETTEXT_OPTION_INIT]) |
|||
XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1" |
|||
]) |
|||
@ -0,0 +1,44 @@ |
|||
# printf-posix.m4 serial 3 (gettext-0.17) |
|||
dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
|
|||
dnl From Bruno Haible. |
|||
dnl Test whether the printf() function supports POSIX/XSI format strings with |
|||
dnl positions. |
|||
|
|||
AC_DEFUN([gt_PRINTF_POSIX], |
|||
[ |
|||
AC_REQUIRE([AC_PROG_CC]) |
|||
AC_CACHE_CHECK([whether printf() supports POSIX/XSI format strings], |
|||
gt_cv_func_printf_posix, |
|||
[ |
|||
AC_TRY_RUN([ |
|||
#include <stdio.h> |
|||
#include <string.h> |
|||
/* The string "%2$d %1$d", with dollar characters protected from the shell's |
|||
dollar expansion (possibly an autoconf bug). */ |
|||
static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; |
|||
static char buf[100]; |
|||
int main () |
|||
{ |
|||
sprintf (buf, format, 33, 55); |
|||
return (strcmp (buf, "55 33") != 0); |
|||
}], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no, |
|||
[ |
|||
AC_EGREP_CPP(notposix, [ |
|||
#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ |
|||
notposix |
|||
#endif |
|||
], gt_cv_func_printf_posix="guessing no", |
|||
gt_cv_func_printf_posix="guessing yes") |
|||
]) |
|||
]) |
|||
case $gt_cv_func_printf_posix in |
|||
*yes) |
|||
AC_DEFINE(HAVE_POSIX_PRINTF, 1, |
|||
[Define if your printf() function supports format strings with positions.]) |
|||
;; |
|||
esac |
|||
]) |
|||
@ -0,0 +1,353 @@ |
|||
dnl Private VLC macros - generated by bootstrap |
|||
|
|||
dnl Helper macro for vlc-config generation |
|||
AC_DEFUN([VLC_CONFIG_HELPER], [ |
|||
cat >> vlc-config.in << BLAH |
|||
access_file) list="\${list} access/libaccess_file" ;; |
|||
access_mmap) list="\${list} access/libaccess_mmap" ;; |
|||
access_directory) list="\${list} access/libaccess_directory" ;; |
|||
access_dv) list="\${list} access/libaccess_dv" ;; |
|||
access_udp) list="\${list} access/libaccess_udp" ;; |
|||
access_tcp) list="\${list} access/libaccess_tcp" ;; |
|||
access_http) list="\${list} access/libaccess_http" ;; |
|||
access_ftp) list="\${list} access/libaccess_ftp" ;; |
|||
access_smb) list="\${list} access/libaccess_smb" ;; |
|||
access_gnomevfs) list="\${list} access/libaccess_gnomevfs" ;; |
|||
access_eyetv) list="\${list} access/libaccess_eyetv" ;; |
|||
dvdnav) list="\${list} access/libdvdnav" ;; |
|||
dvdread) list="\${list} access/libdvdread" ;; |
|||
dc1394) list="\${list} access/libdc1394" ;; |
|||
access_fake) list="\${list} access/libaccess_fake" ;; |
|||
pvr) list="\${list} access/libpvr" ;; |
|||
v4l) list="\${list} access/libv4l" ;; |
|||
cdda) list="\${list} access/libcdda" ;; |
|||
access_jack) list="\${list} access/libaccess_jack" ;; |
|||
bda) list="\${list} access/bda/libbda" ;; |
|||
dshow) list="\${list} access/dshow/libdshow" ;; |
|||
dvb) list="\${list} access/dvb/libdvb" ;; |
|||
access_mms) list="\${list} access/mms/libaccess_mms" ;; |
|||
cddax) list="\${list} access/cdda/libcddax" ;; |
|||
access_realrtsp) list="\${list} access/rtsp/libaccess_realrtsp" ;; |
|||
access_rtmp) list="\${list} access/rtmp/libaccess_rtmp" ;; |
|||
v4l2) list="\${list} access/v4l2/libv4l2" ;; |
|||
vcd) list="\${list} access/vcd/libvcd" ;; |
|||
vcdx) list="\${list} access/vcdx/libvcdx" ;; |
|||
screen) list="\${list} access/screen/libscreen" ;; |
|||
access_filter_timeshift) list="\${list} access_filter/libaccess_filter_timeshift" ;; |
|||
access_filter_record) list="\${list} access_filter/libaccess_filter_record" ;; |
|||
access_filter_dump) list="\${list} access_filter/libaccess_filter_dump" ;; |
|||
access_filter_bandwidth) list="\${list} access_filter/libaccess_filter_bandwidth" ;; |
|||
access_output_dummy) list="\${list} access_output/libaccess_output_dummy" ;; |
|||
access_output_file) list="\${list} access_output/libaccess_output_file" ;; |
|||
access_output_udp) list="\${list} access_output/libaccess_output_udp" ;; |
|||
access_output_http) list="\${list} access_output/libaccess_output_http" ;; |
|||
access_output_shout) list="\${list} access_output/libaccess_output_shout" ;; |
|||
equalizer) list="\${list} audio_filter/libequalizer" ;; |
|||
normvol) list="\${list} audio_filter/libnormvol" ;; |
|||
audio_format) list="\${list} audio_filter/libaudio_format" ;; |
|||
param_eq) list="\${list} audio_filter/libparam_eq" ;; |
|||
trivial_channel_mixer) list="\${list} audio_filter/channel_mixer/libtrivial_channel_mixer" ;; |
|||
simple_channel_mixer) list="\${list} audio_filter/channel_mixer/libsimple_channel_mixer" ;; |
|||
headphone_channel_mixer) list="\${list} audio_filter/channel_mixer/libheadphone_channel_mixer" ;; |
|||
dolby_surround_decoder) list="\${list} audio_filter/channel_mixer/libdolby_surround_decoder" ;; |
|||
mono) list="\${list} audio_filter/channel_mixer/libmono" ;; |
|||
converter_fixed) list="\${list} audio_filter/converter/libconverter_fixed" ;; |
|||
converter_float) list="\${list} audio_filter/converter/libconverter_float" ;; |
|||
a52tospdif) list="\${list} audio_filter/converter/liba52tospdif" ;; |
|||
a52tofloat32) list="\${list} audio_filter/converter/liba52tofloat32" ;; |
|||
dtstospdif) list="\${list} audio_filter/converter/libdtstospdif" ;; |
|||
dtstofloat32) list="\${list} audio_filter/converter/libdtstofloat32" ;; |
|||
mpgatofixed32) list="\${list} audio_filter/converter/libmpgatofixed32" ;; |
|||
trivial_resampler) list="\${list} audio_filter/resampler/libtrivial_resampler" ;; |
|||
ugly_resampler) list="\${list} audio_filter/resampler/libugly_resampler" ;; |
|||
linear_resampler) list="\${list} audio_filter/resampler/liblinear_resampler" ;; |
|||
bandlimited_resampler) list="\${list} audio_filter/resampler/libbandlimited_resampler" ;; |
|||
spatializer) list="\${list} audio_filter/spatializer/libspatializer" ;; |
|||
trivial_mixer) list="\${list} audio_mixer/libtrivial_mixer" ;; |
|||
float32_mixer) list="\${list} audio_mixer/libfloat32_mixer" ;; |
|||
spdif_mixer) list="\${list} audio_mixer/libspdif_mixer" ;; |
|||
alsa) list="\${list} audio_output/libalsa" ;; |
|||
arts) list="\${list} audio_output/libarts" ;; |
|||
aout_directx) list="\${list} audio_output/libaout_directx" ;; |
|||
esd) list="\${list} audio_output/libesd" ;; |
|||
aout_file) list="\${list} audio_output/libaout_file" ;; |
|||
oss) list="\${list} audio_output/liboss" ;; |
|||
aout_sdl) list="\${list} audio_output/libaout_sdl" ;; |
|||
waveout) list="\${list} audio_output/libwaveout" ;; |
|||
hd1000a) list="\${list} audio_output/libhd1000a" ;; |
|||
portaudio) list="\${list} audio_output/libportaudio" ;; |
|||
auhal) list="\${list} audio_output/libauhal" ;; |
|||
jack) list="\${list} audio_output/libjack" ;; |
|||
pulse) list="\${list} audio_output/libpulse" ;; |
|||
a52) list="\${list} codec/liba52" ;; |
|||
cinepak) list="\${list} codec/libcinepak" ;; |
|||
dts) list="\${list} codec/libdts" ;; |
|||
flac) list="\${list} codec/libflac" ;; |
|||
lpcm) list="\${list} codec/liblpcm" ;; |
|||
araw) list="\${list} codec/libaraw" ;; |
|||
vorbis) list="\${list} codec/libvorbis" ;; |
|||
tarkin) list="\${list} codec/libtarkin" ;; |
|||
theora) list="\${list} codec/libtheora" ;; |
|||
tremor) list="\${list} codec/libtremor" ;; |
|||
speex) list="\${list} codec/libspeex" ;; |
|||
adpcm) list="\${list} codec/libadpcm" ;; |
|||
mpeg_audio) list="\${list} codec/libmpeg_audio" ;; |
|||
libmpeg2) list="\${list} codec/liblibmpeg2" ;; |
|||
rawvideo) list="\${list} codec/librawvideo" ;; |
|||
quicktime) list="\${list} codec/libquicktime" ;; |
|||
faad) list="\${list} codec/libfaad" ;; |
|||
dvbsub) list="\${list} codec/libdvbsub" ;; |
|||
telx) list="\${list} codec/libtelx" ;; |
|||
mash) list="\${list} codec/libmash" ;; |
|||
x264) list="\${list} codec/libx264" ;; |
|||
twolame) list="\${list} codec/libtwolame" ;; |
|||
dirac) list="\${list} codec/libdirac" ;; |
|||
png) list="\${list} codec/libpng" ;; |
|||
svcdsub) list="\${list} codec/libsvcdsub" ;; |
|||
cvdsub) list="\${list} codec/libcvdsub" ;; |
|||
fake) list="\${list} codec/libfake" ;; |
|||
realaudio) list="\${list} codec/librealaudio" ;; |
|||
sdl_image) list="\${list} codec/libsdl_image" ;; |
|||
zvbi) list="\${list} codec/libzvbi" ;; |
|||
csri) list="\${list} codec/libcsri" ;; |
|||
cdg) list="\${list} codec/libcdg" ;; |
|||
fluidsynth) list="\${list} codec/libfluidsynth" ;; |
|||
cc) list="\${list} codec/libcc" ;; |
|||
cmml) list="\${list} codec/cmml/libcmml" ;; |
|||
dmo) list="\${list} codec/dmo/libdmo" ;; |
|||
ffmpeg) list="\${list} codec/ffmpeg/libffmpeg" ;; |
|||
ffmpegaltivec) list="\${list} codec/ffmpeg/libffmpegaltivec" ;; |
|||
subsdec) list="\${list} codec/subtitles/libsubsdec" ;; |
|||
subsusf) list="\${list} codec/subtitles/libsubsusf" ;; |
|||
t140) list="\${list} codec/subtitles/libt140" ;; |
|||
spudec) list="\${list} codec/spudec/libspudec" ;; |
|||
xvmc) list="\${list} codec/xvmc/libxvmc" ;; |
|||
gestures) list="\${list} control/libgestures" ;; |
|||
showintf) list="\${list} control/libshowintf" ;; |
|||
telnet) list="\${list} control/libtelnet" ;; |
|||
netsync) list="\${list} control/libnetsync" ;; |
|||
ntservice) list="\${list} control/libntservice" ;; |
|||
hotkeys) list="\${list} control/libhotkeys" ;; |
|||
lirc) list="\${list} control/liblirc" ;; |
|||
rc) list="\${list} control/librc" ;; |
|||
dbus) list="\${list} control/libdbus" ;; |
|||
motion) list="\${list} control/libmotion" ;; |
|||
http) list="\${list} control/http/libhttp" ;; |
|||
a52sys) list="\${list} demux/liba52sys" ;; |
|||
dtssys) list="\${list} demux/libdtssys" ;; |
|||
flacsys) list="\${list} demux/libflacsys" ;; |
|||
ogg) list="\${list} demux/libogg" ;; |
|||
demuxdump) list="\${list} demux/libdemuxdump" ;; |
|||
rawdv) list="\${list} demux/librawdv" ;; |
|||
rawvid) list="\${list} demux/librawvid" ;; |
|||
au) list="\${list} demux/libau" ;; |
|||
wav) list="\${list} demux/libwav" ;; |
|||
mkv) list="\${list} demux/libmkv" ;; |
|||
live555) list="\${list} demux/liblive555" ;; |
|||
nsv) list="\${list} demux/libnsv" ;; |
|||
real) list="\${list} demux/libreal" ;; |
|||
ts) list="\${list} demux/libts" ;; |
|||
ps) list="\${list} demux/libps" ;; |
|||
mod) list="\${list} demux/libmod" ;; |
|||
pva) list="\${list} demux/libpva" ;; |
|||
aiff) list="\${list} demux/libaiff" ;; |
|||
mjpeg) list="\${list} demux/libmjpeg" ;; |
|||
subtitle) list="\${list} demux/libsubtitle" ;; |
|||
asademux) list="\${list} demux/libasademux" ;; |
|||
ty) list="\${list} demux/libty" ;; |
|||
vobsub) list="\${list} demux/libvobsub" ;; |
|||
voc) list="\${list} demux/libvoc" ;; |
|||
xa) list="\${list} demux/libxa" ;; |
|||
nuv) list="\${list} demux/libnuv" ;; |
|||
nsc) list="\${list} demux/libnsc" ;; |
|||
mpc) list="\${list} demux/libmpc" ;; |
|||
gme) list="\${list} demux/libgme" ;; |
|||
tta) list="\${list} demux/libtta" ;; |
|||
vc1) list="\${list} demux/libvc1" ;; |
|||
demux_cdg) list="\${list} demux/libdemux_cdg" ;; |
|||
smf) list="\${list} demux/libsmf" ;; |
|||
asf) list="\${list} demux/asf/libasf" ;; |
|||
avi) list="\${list} demux/avi/libavi" ;; |
|||
mp4) list="\${list} demux/mp4/libmp4" ;; |
|||
m4a) list="\${list} demux/mpeg/libm4a" ;; |
|||
m4v) list="\${list} demux/mpeg/libm4v" ;; |
|||
mpga) list="\${list} demux/mpeg/libmpga" ;; |
|||
mpgv) list="\${list} demux/mpeg/libmpgv" ;; |
|||
h264) list="\${list} demux/mpeg/libh264" ;; |
|||
playlist) list="\${list} demux/playlist/libplaylist" ;; |
|||
ncurses) list="\${list} gui/libncurses" ;; |
|||
fbosd) list="\${list} gui/libfbosd" ;; |
|||
beos) list="\${list} gui/beos/libbeos" ;; |
|||
pda) list="\${list} gui/pda/libpda" ;; |
|||
macosx) list="\${list} gui/macosx/libmacosx" ;; |
|||
minimal_macosx) list="\${list} gui/minimal_macosx/libminimal_macosx" ;; |
|||
qnx) list="\${list} gui/qnx/libqnx" ;; |
|||
qt4) list="\${list} gui/qt4/libqt4" ;; |
|||
skins2) list="\${list} gui/skins2/libskins2" ;; |
|||
wxwidgets) list="\${list} gui/wxwidgets/libwxwidgets" ;; |
|||
wince) list="\${list} gui/wince/libwince" ;; |
|||
folder) list="\${list} meta_engine/libfolder" ;; |
|||
id3tag) list="\${list} meta_engine/libid3tag" ;; |
|||
musicbrainz) list="\${list} meta_engine/libmusicbrainz" ;; |
|||
taglib) list="\${list} meta_engine/libtaglib" ;; |
|||
gtk_main) list="\${list} misc/libgtk_main" ;; |
|||
gnome_main) list="\${list} misc/libgnome_main" ;; |
|||
gtk2_main) list="\${list} misc/libgtk2_main" ;; |
|||
gnome2_main) list="\${list} misc/libgnome2_main" ;; |
|||
screensaver) list="\${list} misc/libscreensaver" ;; |
|||
qte_main) list="\${list} misc/libqte_main" ;; |
|||
freetype) list="\${list} misc/libfreetype" ;; |
|||
win32text) list="\${list} misc/libwin32text" ;; |
|||
quartztext) list="\${list} misc/libquartztext" ;; |
|||
logger) list="\${list} misc/liblogger" ;; |
|||
vod_rtsp) list="\${list} misc/libvod_rtsp" ;; |
|||
gnutls) list="\${list} misc/libgnutls" ;; |
|||
svg) list="\${list} misc/libsvg" ;; |
|||
profile_parser) list="\${list} misc/libprofile_parser" ;; |
|||
audioscrobbler) list="\${list} misc/libaudioscrobbler" ;; |
|||
inhibit) list="\${list} misc/libinhibit" ;; |
|||
dummy) list="\${list} misc/dummy/libdummy" ;; |
|||
lua) list="\${list} misc/lua/liblua" ;; |
|||
memcpy) list="\${list} misc/memcpy/libmemcpy" ;; |
|||
memcpymmx) list="\${list} misc/memcpy/libmemcpymmx" ;; |
|||
memcpymmxext) list="\${list} misc/memcpy/libmemcpymmxext" ;; |
|||
memcpy3dn) list="\${list} misc/memcpy/libmemcpy3dn" ;; |
|||
memcpyaltivec) list="\${list} misc/memcpy/libmemcpyaltivec" ;; |
|||
msn) list="\${list} misc/notify/libmsn" ;; |
|||
growl) list="\${list} misc/notify/libgrowl" ;; |
|||
growl_udp) list="\${list} misc/notify/libgrowl_udp" ;; |
|||
notify) list="\${list} misc/notify/libnotify" ;; |
|||
xosd) list="\${list} misc/notify/libxosd" ;; |
|||
telepathy) list="\${list} misc/notify/libtelepathy" ;; |
|||
test1) list="\${list} misc/testsuite/libtest1" ;; |
|||
test2) list="\${list} misc/testsuite/libtest2" ;; |
|||
test3) list="\${list} misc/testsuite/libtest3" ;; |
|||
test4) list="\${list} misc/testsuite/libtest4" ;; |
|||
export) list="\${list} misc/playlist/libexport" ;; |
|||
osd_parser) list="\${list} misc/osd/libosd_parser" ;; |
|||
xtag) list="\${list} misc/xml/libxtag" ;; |
|||
xml) list="\${list} misc/xml/libxml" ;; |
|||
probe_hal) list="\${list} misc/probe/libprobe_hal" ;; |
|||
mux_dummy) list="\${list} mux/libmux_dummy" ;; |
|||
mux_avi) list="\${list} mux/libmux_avi" ;; |
|||
mux_ogg) list="\${list} mux/libmux_ogg" ;; |
|||
mux_mp4) list="\${list} mux/libmux_mp4" ;; |
|||
mux_asf) list="\${list} mux/libmux_asf" ;; |
|||
mux_wav) list="\${list} mux/libmux_wav" ;; |
|||
mux_mpjpeg) list="\${list} mux/libmux_mpjpeg" ;; |
|||
mux_ps) list="\${list} mux/mpeg/libmux_ps" ;; |
|||
mux_ts) list="\${list} mux/mpeg/libmux_ts" ;; |
|||
rtcp) list="\${list} mux/rtp/librtcp" ;; |
|||
packetizer_copy) list="\${list} packetizer/libpacketizer_copy" ;; |
|||
packetizer_mpegvideo) list="\${list} packetizer/libpacketizer_mpegvideo" ;; |
|||
packetizer_mpeg4video) list="\${list} packetizer/libpacketizer_mpeg4video" ;; |
|||
packetizer_mpeg4audio) list="\${list} packetizer/libpacketizer_mpeg4audio" ;; |
|||
packetizer_h264) list="\${list} packetizer/libpacketizer_h264" ;; |
|||
packetizer_vc1) list="\${list} packetizer/libpacketizer_vc1" ;; |
|||
sap) list="\${list} services_discovery/libsap" ;; |
|||
hal) list="\${list} services_discovery/libhal" ;; |
|||
shout) list="\${list} services_discovery/libshout" ;; |
|||
upnp_cc) list="\${list} services_discovery/libupnp_cc" ;; |
|||
upnp_intel) list="\${list} services_discovery/libupnp_intel" ;; |
|||
bonjour) list="\${list} services_discovery/libbonjour" ;; |
|||
podcast) list="\${list} services_discovery/libpodcast" ;; |
|||
stream_out_dummy) list="\${list} stream_out/libstream_out_dummy" ;; |
|||
stream_out_description) list="\${list} stream_out/libstream_out_description" ;; |
|||
stream_out_standard) list="\${list} stream_out/libstream_out_standard" ;; |
|||
stream_out_transcode) list="\${list} stream_out/libstream_out_transcode" ;; |
|||
stream_out_duplicate) list="\${list} stream_out/libstream_out_duplicate" ;; |
|||
stream_out_es) list="\${list} stream_out/libstream_out_es" ;; |
|||
stream_out_display) list="\${list} stream_out/libstream_out_display" ;; |
|||
stream_out_gather) list="\${list} stream_out/libstream_out_gather" ;; |
|||
stream_out_rtp) list="\${list} stream_out/libstream_out_rtp" ;; |
|||
stream_out_switcher) list="\${list} stream_out/libstream_out_switcher" ;; |
|||
stream_out_bridge) list="\${list} stream_out/libstream_out_bridge" ;; |
|||
stream_out_mosaic_bridge) list="\${list} stream_out/libstream_out_mosaic_bridge" ;; |
|||
stream_out_autodel) list="\${list} stream_out/libstream_out_autodel" ;; |
|||
stream_out_transrate) list="\${list} stream_out/transrate/libstream_out_transrate" ;; |
|||
i420_rgb) list="\${list} video_chroma/libi420_rgb" ;; |
|||
i420_rgb_mmx) list="\${list} video_chroma/libi420_rgb_mmx" ;; |
|||
i420_rgb_sse2) list="\${list} video_chroma/libi420_rgb_sse2" ;; |
|||
i420_yuy2) list="\${list} video_chroma/libi420_yuy2" ;; |
|||
i420_yuy2_mmx) list="\${list} video_chroma/libi420_yuy2_mmx" ;; |
|||
i420_yuy2_sse2) list="\${list} video_chroma/libi420_yuy2_sse2" ;; |
|||
i420_yuy2_altivec) list="\${list} video_chroma/libi420_yuy2_altivec" ;; |
|||
i422_yuy2) list="\${list} video_chroma/libi422_yuy2" ;; |
|||
i422_yuy2_mmx) list="\${list} video_chroma/libi422_yuy2_mmx" ;; |
|||
i422_yuy2_sse2) list="\${list} video_chroma/libi422_yuy2_sse2" ;; |
|||
i422_i420) list="\${list} video_chroma/libi422_i420" ;; |
|||
i420_ymga) list="\${list} video_chroma/libi420_ymga" ;; |
|||
i420_ymga_mmx) list="\${list} video_chroma/libi420_ymga_mmx" ;; |
|||
grey_yuv) list="\${list} video_chroma/libgrey_yuv" ;; |
|||
yuy2_i422) list="\${list} video_chroma/libyuy2_i422" ;; |
|||
yuy2_i420) list="\${list} video_chroma/libyuy2_i420" ;; |
|||
chroma_chain) list="\${list} video_chroma/libchroma_chain" ;; |
|||
mosaic) list="\${list} video_filter/libmosaic" ;; |
|||
transform) list="\${list} video_filter/libtransform" ;; |
|||
invert) list="\${list} video_filter/libinvert" ;; |
|||
adjust) list="\${list} video_filter/libadjust" ;; |
|||
wall) list="\${list} video_filter/libwall" ;; |
|||
clone) list="\${list} video_filter/libclone" ;; |
|||
crop) list="\${list} video_filter/libcrop" ;; |
|||
motionblur) list="\${list} video_filter/libmotionblur" ;; |
|||
logo) list="\${list} video_filter/liblogo" ;; |
|||
deinterlace) list="\${list} video_filter/libdeinterlace" ;; |
|||
blend) list="\${list} video_filter/libblend" ;; |
|||
scale) list="\${list} video_filter/libscale" ;; |
|||
marq) list="\${list} video_filter/libmarq" ;; |
|||
rss) list="\${list} video_filter/librss" ;; |
|||
motiondetect) list="\${list} video_filter/libmotiondetect" ;; |
|||
rv32) list="\${list} video_filter/librv32" ;; |
|||
osdmenu) list="\${list} video_filter/libosdmenu" ;; |
|||
magnify) list="\${list} video_filter/libmagnify" ;; |
|||
wave) list="\${list} video_filter/libwave" ;; |
|||
ripple) list="\${list} video_filter/libripple" ;; |
|||
psychedelic) list="\${list} video_filter/libpsychedelic" ;; |
|||
gradient) list="\${list} video_filter/libgradient" ;; |
|||
panoramix) list="\${list} video_filter/libpanoramix" ;; |
|||
opencv_wrapper) list="\${list} video_filter/libopencv_wrapper" ;; |
|||
opencv_example) list="\${list} video_filter/libopencv_example" ;; |
|||
rotate) list="\${list} video_filter/librotate" ;; |
|||
noise) list="\${list} video_filter/libnoise" ;; |
|||
puzzle) list="\${list} video_filter/libpuzzle" ;; |
|||
colorthres) list="\${list} video_filter/libcolorthres" ;; |
|||
extract) list="\${list} video_filter/libextract" ;; |
|||
sharpen) list="\${list} video_filter/libsharpen" ;; |
|||
erase) list="\${list} video_filter/liberase" ;; |
|||
bluescreen) list="\${list} video_filter/libbluescreen" ;; |
|||
alphamask) list="\${list} video_filter/libalphamask" ;; |
|||
gaussianblur) list="\${list} video_filter/libgaussianblur" ;; |
|||
grain) list="\${list} video_filter/libgrain" ;; |
|||
seamcarving) list="\${list} video_filter/libseamcarving" ;; |
|||
croppadd) list="\${list} video_filter/libcroppadd" ;; |
|||
atmo) list="\${list} video_filter/atmo/libatmo" ;; |
|||
aa) list="\${list} video_output/libaa" ;; |
|||
caca) list="\${list} video_output/libcaca" ;; |
|||
fb) list="\${list} video_output/libfb" ;; |
|||
ggi) list="\${list} video_output/libggi" ;; |
|||
glide) list="\${list} video_output/libglide" ;; |
|||
vout_sdl) list="\${list} video_output/libvout_sdl" ;; |
|||
svgalib) list="\${list} video_output/libsvgalib" ;; |
|||
mga) list="\${list} video_output/libmga" ;; |
|||
hd1000v) list="\${list} video_output/libhd1000v" ;; |
|||
snapshot) list="\${list} video_output/libsnapshot" ;; |
|||
opengl) list="\${list} video_output/libopengl" ;; |
|||
opengllayer) list="\${list} video_output/libopengllayer" ;; |
|||
image) list="\${list} video_output/libimage" ;; |
|||
directfb) list="\${list} video_output/libdirectfb" ;; |
|||
vmem) list="\${list} video_output/libvmem" ;; |
|||
vout_directx) list="\${list} video_output/msw/libvout_directx" ;; |
|||
direct3d) list="\${list} video_output/msw/libdirect3d" ;; |
|||
glwin32) list="\${list} video_output/msw/libglwin32" ;; |
|||
wingdi) list="\${list} video_output/msw/libwingdi" ;; |
|||
wingapi) list="\${list} video_output/msw/libwingapi" ;; |
|||
qte) list="\${list} video_output/qte/libqte" ;; |
|||
x11) list="\${list} video_output/x11/libx11" ;; |
|||
xvideo) list="\${list} video_output/x11/libxvideo" ;; |
|||
glx) list="\${list} video_output/x11/libglx" ;; |
|||
xvmc) list="\${list} video_output/x11/libxvmc" ;; |
|||
goom) list="\${list} visualization/libgoom" ;; |
|||
visual) list="\${list} visualization/visual/libvisual" ;; |
|||
galaktos) list="\${list} visualization/galaktos/libgalaktos" ;; |
|||
BLAH |
|||
]) |
|||
@ -0,0 +1,68 @@ |
|||
# size_max.m4 serial 6 |
|||
dnl Copyright (C) 2003, 2005-2006 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
|
|||
dnl From Bruno Haible. |
|||
|
|||
AC_DEFUN([gl_SIZE_MAX], |
|||
[ |
|||
AC_CHECK_HEADERS(stdint.h) |
|||
dnl First test whether the system already has SIZE_MAX. |
|||
AC_MSG_CHECKING([for SIZE_MAX]) |
|||
AC_CACHE_VAL([gl_cv_size_max], [ |
|||
gl_cv_size_max= |
|||
AC_EGREP_CPP([Found it], [ |
|||
#include <limits.h> |
|||
#if HAVE_STDINT_H |
|||
#include <stdint.h> |
|||
#endif |
|||
#ifdef SIZE_MAX |
|||
Found it |
|||
#endif |
|||
], gl_cv_size_max=yes) |
|||
if test -z "$gl_cv_size_max"; then |
|||
dnl Define it ourselves. Here we assume that the type 'size_t' is not wider |
|||
dnl than the type 'unsigned long'. Try hard to find a definition that can |
|||
dnl be used in a preprocessor #if, i.e. doesn't contain a cast. |
|||
AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], |
|||
[#include <stddef.h> |
|||
#include <limits.h>], size_t_bits_minus_1=) |
|||
AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], |
|||
[#include <stddef.h>], fits_in_uint=) |
|||
if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then |
|||
if test $fits_in_uint = 1; then |
|||
dnl Even though SIZE_MAX fits in an unsigned int, it must be of type |
|||
dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. |
|||
AC_TRY_COMPILE([#include <stddef.h> |
|||
extern size_t foo; |
|||
extern unsigned long foo; |
|||
], [], fits_in_uint=0) |
|||
fi |
|||
dnl We cannot use 'expr' to simplify this expression, because 'expr' |
|||
dnl works only with 'long' integers in the host environment, while we |
|||
dnl might be cross-compiling from a 32-bit platform to a 64-bit platform. |
|||
if test $fits_in_uint = 1; then |
|||
gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" |
|||
else |
|||
gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" |
|||
fi |
|||
else |
|||
dnl Shouldn't happen, but who knows... |
|||
gl_cv_size_max='((size_t)~(size_t)0)' |
|||
fi |
|||
fi |
|||
]) |
|||
AC_MSG_RESULT([$gl_cv_size_max]) |
|||
if test "$gl_cv_size_max" != yes; then |
|||
AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], |
|||
[Define as the maximum value of type 'size_t', if the system doesn't define it.]) |
|||
fi |
|||
]) |
|||
|
|||
dnl Autoconf >= 2.61 has AC_COMPUTE_INT built-in. |
|||
dnl Remove this when we can assume autoconf >= 2.61. |
|||
m4_ifdef([AC_COMPUTE_INT], [], [ |
|||
AC_DEFUN([AC_COMPUTE_INT], [_AC_COMPUTE_INT([$2],[$1],[$3],[$4])]) |
|||
]) |
|||
@ -0,0 +1,20 @@ |
|||
# wchar_t.m4 serial 1 (gettext-0.12) |
|||
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
|
|||
dnl From Bruno Haible. |
|||
dnl Test whether <stddef.h> has the 'wchar_t' type. |
|||
dnl Prerequisite: AC_PROG_CC |
|||
|
|||
AC_DEFUN([gt_TYPE_WCHAR_T], |
|||
[ |
|||
AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t, |
|||
[AC_TRY_COMPILE([#include <stddef.h> |
|||
wchar_t foo = (wchar_t)'\0';], , |
|||
gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)]) |
|||
if test $gt_cv_c_wchar_t = yes; then |
|||
AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.]) |
|||
fi |
|||
]) |
|||
@ -0,0 +1,28 @@ |
|||
# wint_t.m4 serial 2 (gettext-0.17) |
|||
dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
|
|||
dnl From Bruno Haible. |
|||
dnl Test whether <wchar.h> has the 'wint_t' type. |
|||
dnl Prerequisite: AC_PROG_CC |
|||
|
|||
AC_DEFUN([gt_TYPE_WINT_T], |
|||
[ |
|||
AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t, |
|||
[AC_TRY_COMPILE([ |
|||
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
|||
<wchar.h>. |
|||
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included |
|||
before <wchar.h>. */ |
|||
#include <stddef.h> |
|||
#include <stdio.h> |
|||
#include <time.h> |
|||
#include <wchar.h> |
|||
wint_t foo = (wchar_t)'\0';], , |
|||
gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)]) |
|||
if test $gt_cv_c_wint_t = yes; then |
|||
AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.]) |
|||
fi |
|||
]) |
|||
@ -0,0 +1,13 @@ |
|||
# xsize.m4 serial 3 |
|||
dnl Copyright (C) 2003-2004 Free Software Foundation, Inc. |
|||
dnl This file is free software; the Free Software Foundation |
|||
dnl gives unlimited permission to copy and/or distribute it, |
|||
dnl with or without modifications, as long as this notice is preserved. |
|||
|
|||
AC_DEFUN([gl_XSIZE], |
|||
[ |
|||
dnl Prerequisites of lib/xsize.h. |
|||
AC_REQUIRE([gl_SIZE_MAX]) |
|||
AC_REQUIRE([AC_C_INLINE]) |
|||
AC_CHECK_HEADERS(stdint.h) |
|||
]) |
|||
Loading…
Reference in new issue