diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-09-30 08:42:35 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2007-09-30 08:42:35 +0000 |
commit | 7cf2a35515e379d8cc9d95ab1f25273b66cdb039 (patch) | |
tree | b3d277b4e3058196ea961148f759a495e3064062 /lib | |
parent | f7c76eb933b14f483e672c1058e0d6ffc71579ed (diff) |
merge libXpm 3.5.7
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libXpm/Makefile.in | 8 | ||||
-rw-r--r-- | lib/libXpm/aclocal.m4 | 1 | ||||
-rw-r--r-- | lib/libXpm/compile | 142 | ||||
-rw-r--r-- | lib/libXpm/config.h.in | 6 | ||||
-rw-r--r-- | lib/libXpm/configure | 265 | ||||
-rw-r--r-- | lib/libXpm/cxpm/Makefile.in | 36 | ||||
-rw-r--r-- | lib/libXpm/src/Makefile.in | 12 | ||||
-rw-r--r-- | lib/libXpm/sxpm/Makefile.in | 37 |
8 files changed, 282 insertions, 225 deletions
diff --git a/lib/libXpm/Makefile.in b/lib/libXpm/Makefile.in index 4a235f825..4edf1f4d5 100644 --- a/lib/libXpm/Makefile.in +++ b/lib/libXpm/Makefile.in @@ -42,11 +42,12 @@ host_triplet = @host@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/xpm.pc.in $(top_srcdir)/configure AUTHORS COPYING \ - ChangeLog INSTALL NEWS compile config.guess config.sub depcomp \ + ChangeLog INSTALL NEWS config.guess config.sub depcomp \ install-sh ltmain.sh missing subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ @@ -135,6 +136,7 @@ LIBTOOL = @LIBTOOL@ LIB_MAN_DIR = @LIB_MAN_DIR@ LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ LN_S = @LN_S@ +LOCALEDIR = @LOCALEDIR@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ @@ -157,6 +159,8 @@ SHELL = @SHELL@ STRIP = @STRIP@ SXPM_CFLAGS = @SXPM_CFLAGS@ SXPM_LIBS = @SXPM_LIBS@ +USE_GETTEXT_FALSE = @USE_GETTEXT_FALSE@ +USE_GETTEXT_TRUE = @USE_GETTEXT_TRUE@ VERSION = @VERSION@ XPM_CFLAGS = @XPM_CFLAGS@ XPM_LIBS = @XPM_LIBS@ diff --git a/lib/libXpm/aclocal.m4 b/lib/libXpm/aclocal.m4 index c5cda24fd..187d47ad2 100644 --- a/lib/libXpm/aclocal.m4 +++ b/lib/libXpm/aclocal.m4 @@ -7916,3 +7916,4 @@ AC_DEFUN([XORG_RELEASE_VERSION],[ [Patch version of this package]) ]) +m4_include([acinclude.m4]) diff --git a/lib/libXpm/compile b/lib/libXpm/compile deleted file mode 100644 index 1b1d23216..000000000 --- a/lib/libXpm/compile +++ /dev/null @@ -1,142 +0,0 @@ -#! /bin/sh -# Wrapper for compilers which do not understand `-c -o'. - -scriptversion=2005-05-14.22 - -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. -# Written by Tom Tromey <tromey@cygnus.com>. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - -# As a special exception to the GNU General Public License, if you -# distribute this file as part of a program that contains a -# configuration script generated by Autoconf, you may include it under -# the same distribution terms that you use for the rest of that program. - -# This file is maintained in Automake, please report -# bugs to <bug-automake@gnu.org> or send patches to -# <automake-patches@gnu.org>. - -case $1 in - '') - echo "$0: No command. Try \`$0 --help' for more information." 1>&2 - exit 1; - ;; - -h | --h*) - cat <<\EOF -Usage: compile [--help] [--version] PROGRAM [ARGS] - -Wrapper for compilers which do not understand `-c -o'. -Remove `-o dest.o' from ARGS, run PROGRAM with the remaining -arguments, and rename the output as expected. - -If you are trying to build a whole package this is not the -right script to run: please start by reading the file `INSTALL'. - -Report bugs to <bug-automake@gnu.org>. -EOF - exit $? - ;; - -v | --v*) - echo "compile $scriptversion" - exit $? - ;; -esac - -ofile= -cfile= -eat= - -for arg -do - if test -n "$eat"; then - eat= - else - case $1 in - -o) - # configure might choose to run compile as `compile cc -o foo foo.c'. - # So we strip `-o arg' only if arg is an object. - eat=1 - case $2 in - *.o | *.obj) - ofile=$2 - ;; - *) - set x "$@" -o "$2" - shift - ;; - esac - ;; - *.c) - cfile=$1 - set x "$@" "$1" - shift - ;; - *) - set x "$@" "$1" - shift - ;; - esac - fi - shift -done - -if test -z "$ofile" || test -z "$cfile"; then - # If no `-o' option was seen then we might have been invoked from a - # pattern rule where we don't need one. That is ok -- this is a - # normal compilation that the losing compiler can handle. If no - # `.c' file was seen then we are probably linking. That is also - # ok. - exec "$@" -fi - -# Name of file we expect compiler to create. -cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` - -# Create the lock directory. -# Note: use `[/.-]' here to ensure that we don't use the same name -# that we are using for the .o file. Also, base the name on the expected -# object file name, since that is what matters with a parallel build. -lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d -while true; do - if mkdir "$lockdir" >/dev/null 2>&1; then - break - fi - sleep 1 -done -# FIXME: race condition here if user kills between mkdir and trap. -trap "rmdir '$lockdir'; exit 1" 1 2 15 - -# Run the compile. -"$@" -ret=$? - -if test -f "$cofile"; then - mv "$cofile" "$ofile" -elif test -f "${cofile}bj"; then - mv "${cofile}bj" "$ofile" -fi - -rmdir "$lockdir" -exit $ret - -# Local Variables: -# mode: shell-script -# sh-indentation: 2 -# eval: (add-hook 'write-file-hooks 'time-stamp) -# time-stamp-start: "scriptversion=" -# time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" -# End: diff --git a/lib/libXpm/config.h.in b/lib/libXpm/config.h.in index 107bf4be2..80991ab11 100644 --- a/lib/libXpm/config.h.in +++ b/lib/libXpm/config.h.in @@ -33,6 +33,9 @@ /* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H +/* Location of translated messages */ +#undef LOCALEDIR + /* Name of package */ #undef PACKAGE @@ -66,5 +69,8 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS +/* Define to 1 if you want to use the gettext() function. */ +#undef USE_GETTEXT + /* Version number of package */ #undef VERSION diff --git a/lib/libXpm/configure b/lib/libXpm/configure index 32102af1f..b4b6de762 100644 --- a/lib/libXpm/configure +++ b/lib/libXpm/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for libXpm 3.5.5. +# Generated by GNU Autoconf 2.59 for libXpm 3.5.7. # # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. # @@ -423,8 +423,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='libXpm' PACKAGE_TARNAME='libXpm' -PACKAGE_VERSION='3.5.5' -PACKAGE_STRING='libXpm 3.5.5' +PACKAGE_VERSION='3.5.7' +PACKAGE_STRING='libXpm 3.5.7' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' ac_unique_file="Makefile.am" @@ -465,7 +465,7 @@ ac_includes_default="\ # include <unistd.h> #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG ac_pt_PKG_CONFIG XPM_CFLAGS XPM_LIBS SXPM_CFLAGS SXPM_LIBS BUILD_SXPM_TRUE BUILD_SXPM_FALSE APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG ac_pt_PKG_CONFIG XPM_CFLAGS XPM_LIBS LOCALEDIR USE_GETTEXT_TRUE USE_GETTEXT_FALSE SXPM_CFLAGS SXPM_LIBS BUILD_SXPM_TRUE BUILD_SXPM_FALSE APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -974,7 +974,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures libXpm 3.5.5 to adapt to many kinds of systems. +\`configure' configures libXpm 3.5.7 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1040,7 +1040,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of libXpm 3.5.5:";; + short | recursive ) echo "Configuration of libXpm 3.5.7:";; esac cat <<\_ACEOF @@ -1069,6 +1069,8 @@ Optional Packages: both] --with-tags[=TAGS] include additional configurations [automatic] + --with-localedir=<path> Path to install message files in (default: + datadir/locale) --with-release-version=STRING Use release version string in package name @@ -1190,7 +1192,7 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -libXpm configure 3.5.5 +libXpm configure 3.5.7 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1204,7 +1206,7 @@ cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by libXpm $as_me 3.5.5, which was +It was created by libXpm $as_me 3.5.7, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -1848,7 +1850,7 @@ fi # Define the identity of the package. PACKAGE='libXpm' - VERSION='3.5.5' + VERSION='3.5.7' cat >>confdefs.h <<_ACEOF @@ -3732,7 +3734,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 3735 "configure"' > conftest.$ac_ext + echo '#line 3737 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -5331,7 +5333,7 @@ fi # Provide some information about the compiler. -echo "$as_me:5334:" \ +echo "$as_me:5336:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 @@ -6394,11 +6396,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6397: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6399: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6401: \$? = $ac_status" >&5 + echo "$as_me:6403: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6662,11 +6664,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6665: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6667: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6669: \$? = $ac_status" >&5 + echo "$as_me:6671: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -6766,11 +6768,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6769: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6771: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6773: \$? = $ac_status" >&5 + echo "$as_me:6775: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -9115,7 +9117,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 9118 "configure" +#line 9120 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -9215,7 +9217,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 9218 "configure" +#line 9220 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11559,11 +11561,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11562: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11564: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11566: \$? = $ac_status" >&5 + echo "$as_me:11568: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -11663,11 +11665,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11666: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11668: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:11670: \$? = $ac_status" >&5 + echo "$as_me:11672: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -13233,11 +13235,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13236: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13238: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13240: \$? = $ac_status" >&5 + echo "$as_me:13242: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -13337,11 +13339,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13340: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13342: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13344: \$? = $ac_status" >&5 + echo "$as_me:13346: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -15544,11 +15546,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15547: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15549: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15551: \$? = $ac_status" >&5 + echo "$as_me:15553: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15812,11 +15814,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15815: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15817: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15819: \$? = $ac_status" >&5 + echo "$as_me:15821: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15916,11 +15918,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15919: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15921: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:15923: \$? = $ac_status" >&5 + echo "$as_me:15925: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -19927,6 +19929,189 @@ if test "x$GCC" = "xyes"; then CFLAGS="$GCC_WARNINGS $CFLAGS" fi +# Internationalization & localization support +echo "$as_me:$LINENO: checking for library containing gettext" >&5 +echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6 +if test "${ac_cv_search_gettext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_func_search_save_LIBS=$LIBS +ac_cv_search_gettext=no +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char gettext (); +int +main () +{ +gettext (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_gettext="none required" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +if test "$ac_cv_search_gettext" = no; then + for ac_lib in intl; do + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char gettext (); +int +main () +{ +gettext (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_search_gettext="-l$ac_lib" +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + done +fi +LIBS=$ac_func_search_save_LIBS +fi +echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5 +echo "${ECHO_T}$ac_cv_search_gettext" >&6 +if test "$ac_cv_search_gettext" != no; then + test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS" + USE_GETTEXT="yes" +else + USE_GETTEXT="no" +fi + +echo "$as_me:$LINENO: checking where to install localized messages" >&5 +echo $ECHO_N "checking where to install localized messages... $ECHO_C" >&6 + +# Check whether --with-localedir or --without-localedir was given. +if test "${with_localedir+set}" = set; then + withval="$with_localedir" + LOCALEDIR=${withval} +else + LOCALEDIR=${datadir}/locale +fi; + + prefix_NONE= + exec_prefix_NONE= + test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix + test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix + eval ac_define_dir="\"$LOCALEDIR\"" + eval ac_define_dir="\"$ac_define_dir\"" + LOCALEDIR="$ac_define_dir" + + +cat >>confdefs.h <<_ACEOF +#define LOCALEDIR "$ac_define_dir" +_ACEOF + + test "$prefix_NONE" && prefix=NONE + test "$exec_prefix_NONE" && exec_prefix=NONE + +if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then + echo "$as_me:$LINENO: result: nowhere" >&5 +echo "${ECHO_T}nowhere" >&6 + USE_GETTEXT="no" +else + echo "$as_me:$LINENO: result: $LOCALEDIR" >&5 +echo "${ECHO_T}$LOCALEDIR" >&6 +fi + +if test "x$USE_GETTEXT" = "xyes" ; then + +cat >>confdefs.h <<\_ACEOF +#define USE_GETTEXT 1 +_ACEOF + +fi + + +if test "x$USE_GETTEXT" = "xyes"; then + USE_GETTEXT_TRUE= + USE_GETTEXT_FALSE='#' +else + USE_GETTEXT_TRUE='#' + USE_GETTEXT_FALSE= +fi + + # Optional feature: When ___.xpm is requested, also look for ___.xpm.Z & .gz # Replaces ZFILEDEF = -DSTAT_ZFILE in old Imakefile # Check whether --enable-stat-zfile or --disable-stat-zfile was given. @@ -20265,6 +20450,13 @@ echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"USE_GETTEXT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"USE_GETTEXT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"BUILD_SXPM\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -20543,7 +20735,7 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by libXpm $as_me 3.5.5, which was +This file was extended by libXpm $as_me 3.5.7, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20606,7 +20798,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -libXpm config.status 3.5.5 +libXpm config.status 3.5.7 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" @@ -20880,6 +21072,9 @@ s,@PKG_CONFIG@,$PKG_CONFIG,;t t s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t s,@XPM_LIBS@,$XPM_LIBS,;t t +s,@LOCALEDIR@,$LOCALEDIR,;t t +s,@USE_GETTEXT_TRUE@,$USE_GETTEXT_TRUE,;t t +s,@USE_GETTEXT_FALSE@,$USE_GETTEXT_FALSE,;t t s,@SXPM_CFLAGS@,$SXPM_CFLAGS,;t t s,@SXPM_LIBS@,$SXPM_LIBS,;t t s,@BUILD_SXPM_TRUE@,$BUILD_SXPM_TRUE,;t t diff --git a/lib/libXpm/cxpm/Makefile.in b/lib/libXpm/cxpm/Makefile.in index 34c9afee9..3c873c109 100644 --- a/lib/libXpm/cxpm/Makefile.in +++ b/lib/libXpm/cxpm/Makefile.in @@ -38,10 +38,12 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = cxpm$(EXEEXT) +@USE_GETTEXT_TRUE@am__append_1 = cxpm.po subdir = cxpm DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(install_sh) -d @@ -50,7 +52,7 @@ CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmandir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) -am_cxpm_OBJECTS = cxpm-cxpm.$(OBJEXT) +am_cxpm_OBJECTS = cxpm.$(OBJEXT) cxpm_OBJECTS = $(am_cxpm_OBJECTS) cxpm_LDADD = $(LDADD) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) @@ -73,7 +75,7 @@ am__vpath_adj = case $$p in \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; appmanDATA_INSTALL = $(INSTALL_DATA) -DATA = $(appman_DATA) +DATA = $(appman_DATA) $(noinst_DATA) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -127,6 +129,7 @@ LIBTOOL = @LIBTOOL@ LIB_MAN_DIR = @LIB_MAN_DIR@ LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ LN_S = @LN_S@ +LOCALEDIR = @LOCALEDIR@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ @@ -149,6 +152,8 @@ SHELL = @SHELL@ STRIP = @STRIP@ SXPM_CFLAGS = @SXPM_CFLAGS@ SXPM_LIBS = @SXPM_LIBS@ +USE_GETTEXT_FALSE = @USE_GETTEXT_FALSE@ +USE_GETTEXT_TRUE = @USE_GETTEXT_TRUE@ VERSION = @VERSION@ XPM_CFLAGS = @XPM_CFLAGS@ XPM_LIBS = @XPM_LIBS@ @@ -196,7 +201,8 @@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ -cxpm_CFLAGS = $(XPM_CFLAGS) -I$(top_srcdir)/src -I$(top_srcdir)/include/X11 +AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include/X11 +AM_CFLAGS = $(XPM_CFLAGS) cxpm_SOURCES = cxpm.c # Man page @@ -204,7 +210,7 @@ appmandir = $(APP_MAN_DIR) appman_PRE = cxpm.man appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) EXTRA_DIST = $(appman_PRE) -CLEANFILES = $(appman_DATA) +CLEANFILES = $(appman_DATA) $(am__append_1) SED = sed # Strings to replace in man pages @@ -224,6 +230,7 @@ MAN_SUBSTS = \ -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' SUFFIXES = .$(APP_MAN_SUFFIX) .man +@USE_GETTEXT_TRUE@noinst_DATA = cxpm.po all: all-am .SUFFIXES: @@ -295,7 +302,7 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cxpm-cxpm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cxpm.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @@ -318,20 +325,6 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< -cxpm-cxpm.o: cxpm.c -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cxpm_CFLAGS) $(CFLAGS) -MT cxpm-cxpm.o -MD -MP -MF "$(DEPDIR)/cxpm-cxpm.Tpo" -c -o cxpm-cxpm.o `test -f 'cxpm.c' || echo '$(srcdir)/'`cxpm.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/cxpm-cxpm.Tpo" "$(DEPDIR)/cxpm-cxpm.Po"; else rm -f "$(DEPDIR)/cxpm-cxpm.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='cxpm.c' object='cxpm-cxpm.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cxpm_CFLAGS) $(CFLAGS) -c -o cxpm-cxpm.o `test -f 'cxpm.c' || echo '$(srcdir)/'`cxpm.c - -cxpm-cxpm.obj: cxpm.c -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cxpm_CFLAGS) $(CFLAGS) -MT cxpm-cxpm.obj -MD -MP -MF "$(DEPDIR)/cxpm-cxpm.Tpo" -c -o cxpm-cxpm.obj `if test -f 'cxpm.c'; then $(CYGPATH_W) 'cxpm.c'; else $(CYGPATH_W) '$(srcdir)/cxpm.c'; fi`; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/cxpm-cxpm.Tpo" "$(DEPDIR)/cxpm-cxpm.Po"; else rm -f "$(DEPDIR)/cxpm-cxpm.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='cxpm.c' object='cxpm-cxpm.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cxpm_CFLAGS) $(CFLAGS) -c -o cxpm-cxpm.obj `if test -f 'cxpm.c'; then $(CYGPATH_W) 'cxpm.c'; else $(CYGPATH_W) '$(srcdir)/cxpm.c'; fi` - mostlyclean-libtool: -rm -f *.lo @@ -533,6 +526,9 @@ uninstall-am: uninstall-appmanDATA uninstall-binPROGRAMS \ .man.$(APP_MAN_SUFFIX): sed $(MAN_SUBSTS) < $< > $@ + +@USE_GETTEXT_TRUE@cxpm.po: $(cxpm_SOURCES:%=$(srcdir)/%) +@USE_GETTEXT_TRUE@ xgettext -c"L10N_Comments" -d cxpm -n $(cxpm_SOURCES:%=$(srcdir)/%) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/lib/libXpm/src/Makefile.in b/lib/libXpm/src/Makefile.in index a8d480671..89eb02730 100644 --- a/lib/libXpm/src/Makefile.in +++ b/lib/libXpm/src/Makefile.in @@ -43,7 +43,8 @@ subdir = src DIST_COMMON = $(libXpminclude_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(install_sh) -d @@ -136,6 +137,7 @@ LIBTOOL = @LIBTOOL@ LIB_MAN_DIR = @LIB_MAN_DIR@ LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ LN_S = @LN_S@ +LOCALEDIR = @LOCALEDIR@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ @@ -158,6 +160,8 @@ SHELL = @SHELL@ STRIP = @STRIP@ SXPM_CFLAGS = @SXPM_CFLAGS@ SXPM_LIBS = @SXPM_LIBS@ +USE_GETTEXT_FALSE = @USE_GETTEXT_FALSE@ +USE_GETTEXT_TRUE = @USE_GETTEXT_TRUE@ VERSION = @VERSION@ XPM_CFLAGS = @XPM_CFLAGS@ XPM_LIBS = @XPM_LIBS@ @@ -206,10 +210,8 @@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ lib_LTLIBRARIES = libXpm.la -AM_CFLAGS = -I. \ - -I$(top_srcdir)/include/X11/ \ - $(XPM_CFLAGS) - +AM_CPPFLAGS = -I. -I$(top_srcdir)/include/X11/ +AM_CFLAGS = $(XPM_CFLAGS) libXpm_la_LDFLAGS = -version-number 4:11:0 -no-undefined libXpm_la_LIBADD = $(XPM_LIBS) libXpm_la_SOURCES = \ diff --git a/lib/libXpm/sxpm/Makefile.in b/lib/libXpm/sxpm/Makefile.in index 12669baa2..4684a7748 100644 --- a/lib/libXpm/sxpm/Makefile.in +++ b/lib/libXpm/sxpm/Makefile.in @@ -38,10 +38,12 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ @BUILD_SXPM_TRUE@bin_PROGRAMS = sxpm$(EXEEXT) +@BUILD_SXPM_TRUE@@USE_GETTEXT_TRUE@am__append_1 = sxpm.po subdir = sxpm DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(install_sh) -d @@ -51,7 +53,7 @@ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(appmandir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am__sxpm_SOURCES_DIST = sxpm.c -@BUILD_SXPM_TRUE@am_sxpm_OBJECTS = sxpm-sxpm.$(OBJEXT) +@BUILD_SXPM_TRUE@am_sxpm_OBJECTS = sxpm.$(OBJEXT) sxpm_OBJECTS = $(am_sxpm_OBJECTS) am__DEPENDENCIES_1 = @BUILD_SXPM_TRUE@sxpm_DEPENDENCIES = $(am__DEPENDENCIES_1) \ @@ -77,7 +79,7 @@ am__vpath_adj = case $$p in \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; appmanDATA_INSTALL = $(INSTALL_DATA) -DATA = $(appman_DATA) +DATA = $(appman_DATA) $(noinst_DATA) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -131,6 +133,7 @@ LIBTOOL = @LIBTOOL@ LIB_MAN_DIR = @LIB_MAN_DIR@ LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ LN_S = @LN_S@ +LOCALEDIR = @LOCALEDIR@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ @@ -153,6 +156,8 @@ SHELL = @SHELL@ STRIP = @STRIP@ SXPM_CFLAGS = @SXPM_CFLAGS@ SXPM_LIBS = @SXPM_LIBS@ +USE_GETTEXT_FALSE = @USE_GETTEXT_FALSE@ +USE_GETTEXT_TRUE = @USE_GETTEXT_TRUE@ VERSION = @VERSION@ XPM_CFLAGS = @XPM_CFLAGS@ XPM_LIBS = @XPM_LIBS@ @@ -200,8 +205,8 @@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ -@BUILD_SXPM_TRUE@sxpm_CFLAGS = $(SXPM_CFLAGS) -@BUILD_SXPM_TRUE@INCLUDES = -I$(top_srcdir)/include -I$(top_builddir)/include +@BUILD_SXPM_TRUE@AM_CFLAGS = $(SXPM_CFLAGS) +@BUILD_SXPM_TRUE@AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include @BUILD_SXPM_TRUE@sxpm_SOURCES = sxpm.c @BUILD_SXPM_TRUE@sxpm_LDADD = $(XPM_LIBS) $(SXPM_LIBS) $(top_builddir)/src/libXpm.la @@ -209,7 +214,7 @@ target_alias = @target_alias@ @BUILD_SXPM_TRUE@appmandir = $(APP_MAN_DIR) @BUILD_SXPM_TRUE@appman_PRE = sxpm.man @BUILD_SXPM_TRUE@appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) -@BUILD_SXPM_TRUE@CLEANFILES = $(appman_DATA) +@BUILD_SXPM_TRUE@CLEANFILES = $(appman_DATA) $(am__append_1) @BUILD_SXPM_TRUE@SED = sed # Strings to replace in man pages @@ -229,6 +234,7 @@ target_alias = @target_alias@ @BUILD_SXPM_TRUE@ -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' @BUILD_SXPM_TRUE@SUFFIXES = .$(APP_MAN_SUFFIX) .man +@BUILD_SXPM_TRUE@@USE_GETTEXT_TRUE@noinst_DATA = sxpm.po EXTRA_DIST = \ plaid_ext.xpm \ plaid_mask.xpm \ @@ -306,7 +312,7 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sxpm-sxpm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sxpm.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @@ -329,20 +335,6 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< -sxpm-sxpm.o: sxpm.c -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sxpm_CFLAGS) $(CFLAGS) -MT sxpm-sxpm.o -MD -MP -MF "$(DEPDIR)/sxpm-sxpm.Tpo" -c -o sxpm-sxpm.o `test -f 'sxpm.c' || echo '$(srcdir)/'`sxpm.c; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/sxpm-sxpm.Tpo" "$(DEPDIR)/sxpm-sxpm.Po"; else rm -f "$(DEPDIR)/sxpm-sxpm.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sxpm.c' object='sxpm-sxpm.o' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sxpm_CFLAGS) $(CFLAGS) -c -o sxpm-sxpm.o `test -f 'sxpm.c' || echo '$(srcdir)/'`sxpm.c - -sxpm-sxpm.obj: sxpm.c -@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sxpm_CFLAGS) $(CFLAGS) -MT sxpm-sxpm.obj -MD -MP -MF "$(DEPDIR)/sxpm-sxpm.Tpo" -c -o sxpm-sxpm.obj `if test -f 'sxpm.c'; then $(CYGPATH_W) 'sxpm.c'; else $(CYGPATH_W) '$(srcdir)/sxpm.c'; fi`; \ -@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/sxpm-sxpm.Tpo" "$(DEPDIR)/sxpm-sxpm.Po"; else rm -f "$(DEPDIR)/sxpm-sxpm.Tpo"; exit 1; fi -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sxpm.c' object='sxpm-sxpm.obj' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sxpm_CFLAGS) $(CFLAGS) -c -o sxpm-sxpm.obj `if test -f 'sxpm.c'; then $(CYGPATH_W) 'sxpm.c'; else $(CYGPATH_W) '$(srcdir)/sxpm.c'; fi` - mostlyclean-libtool: -rm -f *.lo @@ -544,6 +536,9 @@ uninstall-am: uninstall-appmanDATA uninstall-binPROGRAMS \ @BUILD_SXPM_TRUE@.man.$(APP_MAN_SUFFIX): @BUILD_SXPM_TRUE@ sed $(MAN_SUBSTS) < $< > $@ + +@BUILD_SXPM_TRUE@@USE_GETTEXT_TRUE@sxpm.po: $(sxpm_SOURCES:%=$(srcdir)/%) +@BUILD_SXPM_TRUE@@USE_GETTEXT_TRUE@ xgettext -c"L10N_Comments" -d sxpm -n $(sxpm_SOURCES:%=$(srcdir)/%) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |