Jelajahi Sumber

删除qemu.conf文件不存在时的警告

ErikChan 5 tahun lalu
induk
melakukan
e72090251b
73 mengubah file dengan 12 tambahan dan 3271 penghapusan
  1. 0 1
      README.md
  2. TEMPAT SAMPAH
      SDL2.dll
  3. 0 811
      autopoint
  4. TEMPAT SAMPAH
      envsubst.exe
  5. 2 2
      firmware/50-edk2-i386-secure.json
  6. 2 2
      firmware/50-edk2-x86_64-secure.json
  7. 2 2
      firmware/60-edk2-aarch64.json
  8. 2 2
      firmware/60-edk2-arm.json
  9. 2 2
      firmware/60-edk2-i386.json
  10. 2 2
      firmware/60-edk2-x86_64.json
  11. 0 39
      gdbus-codegen
  12. TEMPAT SAMPAH
      gdbus.exe
  13. TEMPAT SAMPAH
      gettext.exe
  14. 0 121
      gettext.sh
  15. 0 1347
      gettextize
  16. TEMPAT SAMPAH
      gio-querymodules.exe
  17. TEMPAT SAMPAH
      glib-compile-resources.exe
  18. TEMPAT SAMPAH
      glib-compile-schemas.exe
  19. TEMPAT SAMPAH
      glib-genmarshal.exe
  20. 0 187
      glib-gettextize
  21. 0 565
      glib-mkenums
  22. TEMPAT SAMPAH
      gobject-query.exe
  23. TEMPAT SAMPAH
      gresource.exe
  24. TEMPAT SAMPAH
      gsettings.exe
  25. TEMPAT SAMPAH
      gspawn-win32-helper-console.exe
  26. TEMPAT SAMPAH
      gspawn-win32-helper.exe
  27. TEMPAT SAMPAH
      iconv.exe
  28. TEMPAT SAMPAH
      libasprintf-0.dll
  29. TEMPAT SAMPAH
      libcharset-1.dll
  30. TEMPAT SAMPAH
      libconfuse-2.dll
  31. TEMPAT SAMPAH
      libffi-8.dll
  32. TEMPAT SAMPAH
      libgcc_s_sjlj-1.dll
  33. TEMPAT SAMPAH
      libgettextlib-0-19-8.dll
  34. TEMPAT SAMPAH
      libgettextpo-1.dll
  35. TEMPAT SAMPAH
      libgettextsrc-0-19-8.dll
  36. TEMPAT SAMPAH
      libglib-2.0-0.dll
  37. TEMPAT SAMPAH
      libgmodule-2.0-0.dll
  38. TEMPAT SAMPAH
      libgobject-2.0-0.dll
  39. TEMPAT SAMPAH
      libgomp-1.dll
  40. TEMPAT SAMPAH
      libgthread-2.0-0.dll
  41. TEMPAT SAMPAH
      libiconv-2.dll
  42. TEMPAT SAMPAH
      libintl-9.dll
  43. TEMPAT SAMPAH
      libpixman-1-0.dll
  44. 0 1
      libpng-config
  45. 0 127
      libpng12-config
  46. TEMPAT SAMPAH
      libquadmath-0.dll
  47. TEMPAT SAMPAH
      libssp-0.dll
  48. TEMPAT SAMPAH
      libstdc++-6.dll
  49. TEMPAT SAMPAH
      libwinpthread-1.dll
  50. TEMPAT SAMPAH
      msgattrib.exe
  51. TEMPAT SAMPAH
      msgcat.exe
  52. TEMPAT SAMPAH
      msgcmp.exe
  53. TEMPAT SAMPAH
      msgcomm.exe
  54. TEMPAT SAMPAH
      msgconv.exe
  55. TEMPAT SAMPAH
      msgen.exe
  56. TEMPAT SAMPAH
      msgexec.exe
  57. TEMPAT SAMPAH
      msgfilter.exe
  58. TEMPAT SAMPAH
      msgfmt.exe
  59. TEMPAT SAMPAH
      msggrep.exe
  60. TEMPAT SAMPAH
      msginit.exe
  61. TEMPAT SAMPAH
      msgmerge.exe
  62. TEMPAT SAMPAH
      msgunfmt.exe
  63. TEMPAT SAMPAH
      msguniq.exe
  64. TEMPAT SAMPAH
      ngettext.exe
  65. TEMPAT SAMPAH
      qemu-edid.exe
  66. TEMPAT SAMPAH
      qemu-ga.exe
  67. TEMPAT SAMPAH
      qemu-img.exe
  68. TEMPAT SAMPAH
      qemu-io.exe
  69. TEMPAT SAMPAH
      qemu-system-arm.exe
  70. TEMPAT SAMPAH
      qemu-system-armw.exe
  71. TEMPAT SAMPAH
      recode-sr-latin.exe
  72. 0 60
      sdl2-config
  73. TEMPAT SAMPAH
      xgettext.exe

+ 0 - 1
README.md

@@ -1 +0,0 @@
-# sdk-debugger-qemu

TEMPAT SAMPAH
SDL2.dll


+ 0 - 811
autopoint

@@ -1,811 +0,0 @@
-#! /bin/sh
-#
-# Copyright (C) 2002-2016 Free Software Foundation, Inc.
-#
-# 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 3 of the License, 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, see <http://www.gnu.org/licenses/>.
-#
-
-# This file is meant for authors, maintainers, co-maintainers or installers
-# of packages which are internationalized with the help of GNU gettext.  For
-# further information how to use it consult the GNU gettext manual.
-
-progname=$0
-package=gettext-tools
-version=0.19.8
-archive_version=0.19.8
-
-# Set variables
-# - gettext_datadir     directory where the data files are stored.
-prefix="/builds/community/qemu-stm32/sysroot-cross"
-datarootdir="${prefix}/share"
-: ${gettext_datadir="${datarootdir}/gettext"}
-: ${AUTOM4TE=autom4te}
-
-# func_tmpdir
-# creates a temporary directory.
-# Sets variable
-# - tmp             pathname of freshly created temporary directory
-func_tmpdir ()
-{
-  # Use the environment variable TMPDIR, falling back to /tmp. This allows
-  # users to specify a different temporary directory, for example, if their
-  # /tmp is filled up or too small.
-  : ${TMPDIR=/tmp}
-  {
-    # Use the mktemp program if available. If not available, hide the error
-    # message.
-    tmp=`(umask 077 && mktemp -d "$TMPDIR/gtXXXXXX") 2>/dev/null` &&
-    test -n "$tmp" && test -d "$tmp"
-  } ||
-  {
-    # Use a simple mkdir command. It is guaranteed to fail if the directory
-    # already exists.  $RANDOM is bash specific and expands to empty in shells
-    # other than bash, ksh and zsh.  Its use does not increase security;
-    # rather, it minimizes the probability of failure in a very cluttered /tmp
-    # directory.
-    tmp=$TMPDIR/gt$$-$RANDOM
-    (umask 077 && mkdir "$tmp")
-  } ||
-  {
-    echo "$0: cannot create a temporary directory in $TMPDIR" >&2
-    { (exit 1); exit 1; }
-  }
-}
-
-# Support for relocatability.
-func_find_curr_installdir ()
-{
-  # Determine curr_installdir, even taking into account symlinks.
-  curr_executable="$0"
-  case "$curr_executable" in
-    */* | *\\*) ;;
-    *) # Need to look in the PATH.
-      save_IFS="$IFS"; IFS="${PATH_SEPARATOR=':'}"
-      for dir in $PATH; do
-        IFS="$save_IFS"
-        test -z "$dir" && dir=.
-        for exec_ext in ''; do
-          if test -f "$dir/$curr_executable$exec_ext"; then
-            curr_executable="$dir/$curr_executable$exec_ext"
-            break 2
-          fi
-        done
-      done
-      IFS="$save_IFS"
-      ;;
-  esac
-  # Make absolute.
-  case "$curr_executable" in
-    /* | ?:/* | ?:\\*) ;;
-    *) curr_executable=`pwd`/"$curr_executable" ;;
-  esac
-  # Resolve symlinks.
-  sed_dirname='s,/[^/]*$,,'
-  sed_linkdest='s,^.* -> \(.*\),\1,p'
-  while : ; do
-    lsline=`LC_ALL=C ls -l "$curr_executable"`
-    case "$lsline" in
-      *" -> "*)
-        linkdest=`echo "$lsline" | sed -n -e "$sed_linkdest"`
-        case "$linkdest" in
-          /* | ?:/* | ?:\\*) curr_executable="$linkdest" ;;
-          *) curr_executable=`echo "$curr_executable" | sed -e "$sed_dirname"`/"$linkdest" ;;
-        esac ;;
-      *) break ;;
-    esac
-  done
-  curr_installdir=`echo "$curr_executable" | sed -e 's,/[^/]*$,,'`
-  # Canonicalize.
-  curr_installdir=`cd "$curr_installdir" && pwd`
-}
-func_find_prefixes ()
-{
-  # Compute the original/current installation prefixes by stripping the
-  # trailing directories off the original/current installation directories.
-  orig_installprefix="$orig_installdir"
-  curr_installprefix="$curr_installdir"
-  while true; do
-    orig_last=`echo "$orig_installprefix" | sed -n -e 's,^.*/\([^/]*\)$,\1,p'`
-    curr_last=`echo "$curr_installprefix" | sed -n -e 's,^.*/\([^/]*\)$,\1,p'`
-    if test -z "$orig_last" || test -z "$curr_last"; then
-      break
-    fi
-    if test "$orig_last" != "$curr_last"; then
-      break
-    fi
-    orig_installprefix=`echo "$orig_installprefix" | sed -e 's,/[^/]*$,,'`
-    curr_installprefix=`echo "$curr_installprefix" | sed -e 's,/[^/]*$,,'`
-  done
-}
-if test "no" = yes; then
-  exec_prefix="${prefix}"
-  bindir="${exec_prefix}/bin"
-  orig_installdir="$bindir" # see Makefile.am's *_SCRIPTS variables
-  func_find_curr_installdir # determine curr_installdir
-  func_find_prefixes
-  # Relocate the directory variables that we use.
-  gettext_datadir=`echo "$gettext_datadir/" | sed -e "s%^${orig_installprefix}/%${curr_installprefix}/%" | sed -e 's,/$,,'`
-fi
-
-# func_trace_autoconf macro configure.ac
-# traces an Autoconf macro call and outputs the arguments to stdout,
-# using autom4te.
-func_trace_autoconf ()
-{
-  echo '\
-dnl replace macros which may abort autom4te with a no-op variant
-m4_pushdef([m4_assert])
-m4_pushdef([m4_fatal])
-m4_pushdef([m4_warn])
-m4_pushdef([m4_errprintn])
-m4_pushdef([m4_exit])
-m4_pushdef([m4_include])
-m4_pushdef([m4_esyscmd])
-' \
-  | "$AUTOM4TE" --no-cache --language=Autoconf-without-aclocal-m4 \
-    --trace="$1":\$% - "$2" 2>/dev/null
-}
-
-# func_trace_sed macro configure.ac
-# traces an Autoconf macro call and outputs the arguments to stdout,
-# using sed.
-func_trace_sed ()
-{
-  sed_extract_arguments='
-s,#.*$,,; s,^dnl .*$,,; s, dnl .*$,,;
-/'"$1"'(/ {
-  ta
-  :a
-    s/)/)/
-    tb
-    s/\\$//
-    N
-    ba
-  :b
-  s,^.*'"$1"'([[ ]*\([^]"$`\\)]*\).*$,\1,p
-}
-d'
-  sed -e "$sed_extract_arguments" "$2"
-}
-
-# func_usage
-# outputs to stdout the --help usage message.
-func_usage ()
-{
-  echo "\
-Usage: autopoint [OPTION]...
-
-Copies standard gettext infrastructure files into a source package.
-
-Options:
-      --help           print this help and exit
-      --version        print version information and exit
-  -f, --force          force overwriting of files that already exist
-  -n, --dry-run        print modifications but don't perform them"
-#  echo "\
-#  -V version           copy the infrastructure of the specified gettext version
-#                         (dangerous)"
-  echo "
-Report bugs to <bug-gnu-gettext@gnu.org>."
-}
-
-# func_version
-# outputs to stdout the --version message.
-func_version ()
-{
-  echo "$progname (GNU $package) $version"
-  echo "Uses a versions archive in dirxz format."
-  echo "Copyright (C) 2002-2013 Free Software Foundation, Inc.
-License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
-This is free software: you are free to change and redistribute it.
-There is NO WARRANTY, to the extent permitted by law."
-  echo "Written by" "Bruno Haible"
-}
-
-# func_fatal_error message
-# outputs to stderr a fatal error message, and terminates the program.
-func_fatal_error ()
-{
-  echo "autopoint: *** $1" 1>&2
-  echo "autopoint: *** Stop." 1>&2
-  exit 1
-}
-
-# Nuisances.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-# Command-line option processing.
-# Removes the OPTIONS from the arguments. Sets the variables:
-# - force           yes if --force was given, empty otherwise
-# - ver             gettext version if -V was given, empty otherwise
-# - doit            false if --dry-run was given, : otherwise
-{
-  force=
-  ver=
-  doit=:
-
-  while test $# -gt 0; do
-    case "$1" in
-      -n | --dry-run | --dry-ru | --dry-r | --dry- | --dry | --dr | --d )
-        shift
-        doit=false ;;
-      -f | --force | --forc | --for | --fo | --f )
-        shift
-        force=yes ;;
-      --help | --hel | --he | --h )
-        func_usage; exit 0 ;;
-#      -V ) # Some people put a space between -V and the version number.
-#        shift
-#        if test $# = 0; then
-#          func_usage 1>&2
-#          exit 1
-#        fi
-#        ver=$1;
-#        shift ;;
-#      -V*) # Some people omit the space between -V and the version number.
-#        ver=`echo "X$1" | sed -e 's/^X-V//'`
-#        shift ;;
-      --version | --versio | --versi | --vers | --ver | --ve | --v )
-        func_version
-        exit 0 ;;
-      -- ) # Stop option prcessing
-        shift; break ;;
-      -* )
-        echo "autopoint: unknown option $1" 1>&2
-        echo "Try 'autopoint --help' for more information." 1>&2
-        exit 1 ;;
-      * )
-        break ;;
-    esac
-  done
-}
-
-# Command-line argument processing.
-# Analyzes the remaining arguments.
-{
-  if test $# -gt 0; then
-    func_usage 1>&2
-    exit 1
-  fi
-}
-
-srcdir=`pwd`
-# The current directory is now $srcdir.
-
-# Check integrity of package: A configure.in/ac must be present. Sets variable
-# - configure_in    name of configure.in/ac file.
-if test -f configure.in; then
-  configure_in=configure.in
-else
-  if test -f configure.ac; then
-    configure_in=configure.ac
-  else
-    # KDE specific convention: configure.in.in
-    if test -f configure.in.in; then
-      configure_in=configure.in.in
-    else
-      func_fatal_error "Missing configure.in or configure.ac, please cd to your package first."
-    fi
-  fi
-fi
-
-# Select the method for Autoconf macro tracing.  func_trace_autoconf
-# is more accurate than func_trace_sed, but it only works with
-# autoconf >= 2.69.
-if echo "AC_PREREQ([2.69])" \
-  | "$AUTOM4TE" --no-cache --language=Autoconf-without-aclocal-m4 - 2>&1; then
-  func_trace=func_trace_autoconf
-else
-  func_trace=func_trace_sed
-fi
-
-# func_version_prereq required_version version
-# compares the required version and the latest archive version.
-func_version_prereq ()
-{
-  req="$1"
-  ver="$2"
-  echo "m4_if(m4_version_compare([$ver], [$req]), [-1], [m4_exit([1])])" \
-    | "$AUTOM4TE" --language=M4sugar 2>&1 >/dev/null
-}
-
-# If AM_GNU_GETTEXT_REQUIRE_VERSION is used and archive_version is newer than
-# that, use archive_version.
-xreq=`func_trace_sed AM_GNU_GETTEXT_REQUIRE_VERSION "$configure_in"`
-
-# Need to use func_trace_sed instead of $func_trace, since
-# AM_GNU_GETTEXT_VERSION is not a standard Autoconf trace.
-xver=`func_trace_sed AM_GNU_GETTEXT_VERSION "$configure_in"`
-
-# Prefer AM_GNU_GETTEXT_REQUIRE_VERSION over AM_GNU_GETTEXT_VERSION if both are
-# specified.
-if test -n "$xreq" && test -n "$xver"; then
-  echo "autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of AM_GNU_GETTEXT_VERSION"
-fi
-
-if test -n "$xreq"; then
-  if func_version_prereq "$xreq" "$archive_version"; then
-    ver="$archive_version"
-  else
-    func_fatal_error "gettext version $xreq or newer is required"
-  fi
-else
-  if test -z "$xver" && test -f intl/VERSION; then
-    xver=`cat intl/VERSION | LC_ALL=C sed -n -e 's/^.*gettext-\([-+_.0-9A-Za-z]*\).*$/\1/p'`
-  fi
-
-  # Check whether the -V option and the version number in configure.in match.
-  # At least one of the two must be given. If both are given, they must agree.
-
-  if test -n "$xver"; then
-    if test -n "$ver"; then
-      if test "X$ver" != "X$xver"; then
-        func_fatal_error "Version mismatch: specified -V $ver but the package uses gettext version $xver"
-      fi
-    else
-      ver="$xver"
-    fi
-  fi
-fi
-
-if test -z "$ver"; then
-  func_fatal_error "Missing version: please specify in $configure_in through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using"
-fi
-
-# Check whether the version number is supported.
-case "$ver" in
-  0.10.35 | 0.10.36 | 0.10.37 | 0.10.38 | 0.10.39 | 0.10.40 | \
-  0.11 | 0.11.1 | 0.11.2 | 0.11.3 | 0.11.4 | 0.11.5 | \
-  0.12 | 0.12.1 | \
-  0.13 | 0.13.1 | \
-  0.14 | 0.14.1 | 0.14.2 | 0.14.3 | 0.14.4 | 0.14.5 | 0.14.6 | \
-  0.15 | \
-  0.16 | 0.16.1 | \
-  0.17 | \
-  0.18 | 0.18.1 | 0.18.2 | 0.18.3 | \
-  0.19 | 0.19.1 | 0.19.2 | 0.19.3 | 0.19.4 | 0.19.5 | 0.19.6 | 0.19.7 | 0.19.8 )
-    ;;
-  *)
-    func_fatal_error "The AM_GNU_GETTEXT_VERSION declaration in your $configure_in
-               file requires the infrastructure from gettext-$ver but this version
-               is older. Please upgrade to gettext-$ver or newer."
-    ;;
-esac
-
-# Check in which directory config.rpath, mkinstalldirs etc. belong.
-auxdir=`"$func_trace" AC_CONFIG_AUX_DIR "$configure_in"`
-if test -n "$auxdir"; then
-  auxdir="$auxdir/"
-fi
-
-# Check in which directory the *.m4 macros belong.
-macrodirs=`"$func_trace" AC_CONFIG_MACRO_DIR_TRACE "$configure_in"`
-if test -z "$macrodirs"; then
-  macrodirs=`"$func_trace" AC_CONFIG_MACRO_DIR "$configure_in"`
-fi
-for arg in $macrodirs; do
-  m4dir="$arg"
-  break
-done
-
-if test -z "$m4dir" && test -f Makefile.am; then
-  # A package using automake.
-  # Extract the macro directory name from Makefile.am.
-  aclocal_amflags=`grep '^ACLOCAL_AMFLAGS[ 	]*=' Makefile.am | sed -e 's/^ACLOCAL_AMFLAGS[ 	]*=\(.*\)$/\1/'`
-  m4dir_is_next=
-  for arg in $aclocal_amflags; do
-    if test -n "$m4dir_is_next"; then
-      m4dir="$arg"
-      break
-    else
-      if test "X$arg" = "X-I"; then
-        m4dir_is_next=yes
-      else
-        m4dir_is_next=
-      fi
-    fi
-  done
-fi
-
-if test -z "$m4dir"; then
-  m4dir=m4
-fi
-
-# Check whether to omit the intl/ directory.
-omitintl=
-# Need to use func_trace_sed instead of $func_trace, since
-# AM_GNU_GETTEXT is not a standard Autoconf trace.
-xargs=`func_trace_sed AM_GNU_GETTEXT "$configure_in"`
-save_IFS="$IFS"; IFS=:
-for arg in $xargs; do
-  if test 'external' = "$arg"; then
-    omitintl=yes
-    break
-  fi
-done
-IFS="$save_IFS"
-
-# Check in which directory or directories the po/* infrastructure belongs.
-configfiles=`"$func_trace" AC_CONFIG_FILES "$configure_in"`
-# PO directories have a Makefile.in generated from Makefile.in.in.
-# 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.
-sed_remove_Makefile_in='s,/Makefile\.in$,,'
-podirs=`for f in $configfiles; do case "$f" in */Makefile.in) echo $f;; esac; done | sed -e "$sed_remove_Makefile_in"`
-if test -z "$podirs"; then
-  # If we cannot get the list of PO directories from configure.ac, assume the
-  # common default.
-  podirs="po"
-fi
-
-# Set up a temporary checkout directory.
-# Set variables
-# - work_dir        directory containing the temporary checkout
-work_dir=tmpwrk$$
-mkdir "$work_dir" || {
-  if test -d "$work_dir"; then
-    func_fatal_error "directory $work_dir already exists"
-  else
-    func_fatal_error "cannot create directory $work_dir"
-  fi
-}
-
-# We support three archive formats.
-#
-# Format | Size (KiB) for gettext-0.17 | Extra tools needed |
-# -------+-----------------------------+--------------------+
-#  dir   |            3000             |         --         |
-#  cvs   |             356             |         cvs        |
-#  git   |             484             |         git        |
-# -------+-----------------------------+--------------------+
-
-case "dirxz" in
-  dir*)
-    # The archive of different versions is very large (unless xz compression is
-    # used), but using it does not require special tools.
-    case "dirxz" in
-      dirgz) gzip -d -c < "$gettext_datadir/archive.dir.tar.gz" ;;
-      dirbz2) bzip2 -d -c < "$gettext_datadir/archive.dir.tar.bz2" ;;
-      dirxz) xz -d -c < "$gettext_datadir/archive.dir.tar.xz" ;;
-    esac \
-      | (cd "$work_dir" && tar xf - "gettext-$ver")
-    if test `find "$work_dir" -type f -print | wc -l` = 0; then
-      rm -rf "$work_dir"
-      func_fatal_error "infrastructure files for version $ver not found; this is autopoint from GNU $package $version"
-    fi
-    mv "$work_dir/gettext-$ver" "$work_dir/archive"
-    ;;
-
-  cvs)
-    # We distributed the many different versions of the files in a CVS
-    # repository. This guaranteed a good compression rate:
-    #
-    #   Including version    size in KB of
-    #                       "du autopoint-files/archive"
-    #      0.10.35                  240
-    #      0.10.36                  428
-    #      0.10.37                  436
-    #      0.10.38                  488
-    #      0.10.39                  500
-    #      0.10.40                  528
-    #      0.11                     720
-    #      0.11.1                   740
-    #      0.11.2                   748
-    #      0.11.3                   804
-    #      0.11.4                   864
-    #      0.11.5                   880
-    #      0.12                    1032
-    #      0.12.1                  1032
-    #      0.13                    1220
-    #      0.13.1                  1236
-    #      0.14                    1296
-    #      0.14.1                  1300
-    #      0.14.2                  1420
-    #      0.14.3                  1428
-    #      0.14.4                  1464
-    #      0.14.5                  1508
-    #      0.14.6                  1580
-    #      0.15                    1760
-    #      0.16                    1808
-    #      0.16.1                  1812
-    #      0.17                    2128
-    #      0.18                    2656
-    #
-    # The requirement that the user must have the CVS program available is not
-    # a severe restrictions, because most of the people who use autopoint are
-    # users of CVS.
-    #
-    # But the CVS format is now deprecated, because "cvs init" does not work in
-    # all circumstances
-    # (see <http://lists.gnu.org/archive/html/bug-cvs/2010-05/msg00003.html>)
-    # and we are not allowed to distribute the cvs infrastructure files
-    # ourselves
-    # (see <http://lists.gnu.org/archive/html/bug-cvs/2010-06/msg00011.html>).
-    #
-    # Check availability of the CVS program.
-    (cvs -v) >/dev/null 2>/dev/null || func_fatal_error "cvs program not found"
-
-    # Set up a temporary CVS repository.
-    # We need the temporary CVS repository because any checkout needs write
-    # access to the CVSROOT/history file, so it cannot be under $gettext_datadir.
-    # We need the temporary checkout directory because when --force was not
-    # given, we need to compare the existing files with the checked out ones.
-    # Set variables
-    # - cvs_dir         directory containing the temporary repository
-    cvs_dir=tmpcvs$$
-    # Use an umask of 077, to avoid attacks that work by overwriting files in
-    # the "$CVSROOT"/CVSROOT directory.
-    (umask 077 && mkdir "$cvs_dir") || {
-      if test -d "$cvs_dir"; then
-        func_fatal_error "directory $cvs_dir already exists"
-      else
-        func_fatal_error "cannot create directory $cvs_dir"
-      fi
-    }
-    CVSROOT="$srcdir/$cvs_dir"
-    unset CVS_CLIENT_LOG
-    unset CVS_CLIENT_PORT
-    unset CVS_IGNORE_REMOTE_ROOT
-    unset CVS_LOCAL_BRANCH_NUM
-    unset CVS_NOBASES
-    unset CVS_PASSFILE
-    unset CVS_PASSWORD
-    unset CVS_PROXY_PORT
-    unset CVS_RCMD_PORT
-    unset CVS_RSH
-    unset CVS_SERVER
-    unset CVS_SERVER_SLEEP
-    CVS_SIGN_COMMITS=
-    export CVS_SIGN_COMMITS
-    unset CVS_SSH
-    unset CVS_VERIFY_CHECKOUTS
-    unset CVS_VERIFY_TEMPLATE
-    unset CVSIGNORE
-    unset CVSREAD
-    unset CVSREADONLYFS
-    unset CVSUMASK
-    unset CVSWRAPPERS
-
-    # Need to pass -d "$CVSROOT", because there may be a CVS directory in the
-    # current directory.
-    cvs -d "$CVSROOT" init
-    gzip -d -c < "$gettext_datadir/archive.cvs.tar.gz" | (cd "$cvs_dir" && tar xf -)
-
-    cd "$work_dir"
-    cvsver=gettext-`echo "$ver" | sed -e 's/\./_/g'`
-    (cvs -d "$CVSROOT" checkout -r"$cvsver" archive > /dev/null) 2>&1 | grep -v '^cvs checkout: Updating'
-    find archive -name CVS -type d -print | xargs rm -rf
-    cd ..
-    rm -rf "$cvs_dir"
-    # Check that really all CVS directories are gone, otherwise we would overwrite
-    # the contents of the user's CVS directories.
-    if test `find $work_dir/archive -name CVS -type d -print | wc -l` != 0; then
-      rm -rf "$work_dir"
-      func_fatal_error "failed to remove all CVS subdirectories"
-    fi
-    if test `find $work_dir/archive -type f -print | wc -l` = 0; then
-      rm -rf "$work_dir"
-      func_fatal_error "infrastructure files for version $ver not found; this is autopoint from GNU $package $version"
-    fi
-    ;;
-
-  git)
-    # Check availability of the git program.
-    (git --version) >/dev/null 2>/dev/null || func_fatal_error "git program not found"
-    mkdir "$work_dir/archive"
-    gzip -d -c < "$gettext_datadir/archive.git.tar.gz" | (cd "$work_dir/archive" && tar xf -)
-    (cd "$work_dir/archive" && git checkout -q "gettext-$ver") || {
-      rm -rf "$work_dir"
-      func_fatal_error "infrastructure files for version $ver not found; this is autopoint from GNU $package $version"
-    }
-    (cd "$work_dir/archive" && rm -rf .git .gitignore)
-    ;;
-esac
-
-# func_destfile file
-# determines the destination file, relative to the package's top level
-# directory, for a given file name, relative to archive.
-# Sets variables
-# - destfile        relative destination file name, or
-#                   empty if the file shall be omitted
-# - sharedowner     yes if the file is not only owned by GNU gettext but may
-#                   be installed by automake or other tools, otherwise empty
-# - allpodirs       yes if the file is to be installed in every dir in $podirs
-func_destfile ()
-{
-  # There are five categories of files:
-  # ABOUT_NLS -> top level directory
-  # config.rpath mkinstalldirs -> $auxdir
-  # m4/* -> $m4dir/
-  # intl/* -> intl/
-  # po/* -> 
-  sharedowner=
-  allpodirs=
-  case `echo "$1" | sed -e 's,[^/]*$,,'` in
-    "" )
-      case "$1" in
-        config.rpath ) destfile="$auxdir$1" ;;
-        mkinstalldirs ) destfile="$auxdir$1" sharedowner=yes ;;
-        * ) destfile="$1" ;;
-      esac
-      ;;
-    m4/ ) destfile=`echo "$1" | sed -e "s,^m4/,$m4dir/,"` ;;
-    intl/ ) if test -n "$omitintl"; then destfile=""; else destfile="$1"; fi ;;
-    po/ ) destfile=`echo "$1" | sed -e "s,^po/,,"` allpodirs=yes ;;
-    * ) destfile="$1" ;;
-  esac
-}
-
-# func_compare existingfile gettextfile
-# compares the existing file and the file from gettext, and decides whether the
-# existing file should be overwritten with the file from gettext. Returns 0 if
-# it should be overwritten, or 1 if it should be skipped.
-sed_extract_serial='s/^#.* serial \([^ ]*\).*/\1/p
-1q'
-func_compare ()
-{
-  if cmp -s "$1" "$2"; then
-    false
-  else
-    case "$2" in
-      *.m4)
-        # For interoperability with gnulib. gnulib often has newer versions of
-        # the *.m4 files than the latest gettext release. Don't overwrite a
-        # newer version from gnulib with an older version from the gettext
-        # release. The version can be retrieved from the first line, which
-        # looks like this:   # file.m4 serial NN ...
-        existing_serial=`sed -n -e "$sed_extract_serial" < "$1"`
-        gettext_serial=`sed -n -e "$sed_extract_serial" < "$2"`
-        if test -n "$existing_serial" && test -n "$gettext_serial" \
-           && test "$existing_serial" -ge "$gettext_serial" 2> /dev/null; then
-          false
-        else
-          true
-        fi
-        ;;
-      *)
-        true
-        ;;
-    esac
-  fi
-}
-
-# If some files have been locally modified and we have not been requested
-# to overwrite them, then bail out. This is better than leaving a source
-# package around where half of the files are locally modified and half are
-# original - too great risk of version mismatch.
-if test -z "$force"; then
-  mismatch=
-  func_tmpdir
-  mismatchfile="$tmp"/autopoint.diff
-  for file in `find "$work_dir/archive" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C sort`; do
-    func_destfile "$file"
-    if test -n "$destfile"; then
-      func_compare_to_destfile ()
-      {
-        finaldestfile="$1"
-        if test -f "$finaldestfile"; then
-          if func_compare "$finaldestfile" "$work_dir/archive/$file"; then
-            if test -n "$sharedowner"; then
-              echo "autopoint: warning: File $finaldestfile has been locally modified." 1>&2
-            else
-              echo "autopoint: File $finaldestfile has been locally modified." 1>&2
-              mismatch=yes
-              diff -c "$work_dir/archive/$file" "$finaldestfile" | sed -e "1s,$work_dir/archive/,," >> "$mismatchfile"
-            fi
-          fi
-        fi
-      }
-      if test -n "$allpodirs"; then
-        for dir in $podirs; do
-          func_compare_to_destfile "$dir/$destfile"
-        done
-      else
-        func_compare_to_destfile "$destfile"
-      fi
-    fi
-  done
-  if test -n "$mismatch"; then
-    rm -rf "$work_dir"
-    func_fatal_error "Some files have been locally modified. Not overwriting them because --force has not been specified. For your convenience, you find the local modifications in the file '$mismatchfile'."
-  fi
-  rm -rf "$tmp"
-fi
-
-# func_mkdir_for to
-# ensures the directory that would the given file exists.
-# 'to' is a relative pathname, relative to the current directory.
-func_mkdir_for ()
-{
-  base=`echo "$1" | sed -e 's,/[^/]*$,,'`
-  if test "X$base" != "X$1" && test -n "$base"; then
-    func_mkdir_for "$base"
-    # Recompute base. It was clobbered by the recursive call.
-    base=`echo "$1" | sed -e 's,/[^/]*$,,'`
-    test -d "$base" || { echo "Creating directory $base"; mkdir "$base"; }
-  fi
-}
-
-# func_copy from to
-# copies a file.
-# 'from' is a relative pathname, relative to the current directory.
-# 'to' is a relative pathname, relative to the current directory.
-func_copy ()
-{
-  if $doit; then
-    func_mkdir_for "$2"
-    rm -f "$2"
-    echo "Copying file $2"
-    cp "$1" "$2"
-  else
-    echo "Copy file $2"
-  fi
-}
-
-# func_backup to
-# makes a backup of a file that is about to be overwritten or replaced.
-# 'to' is a relative pathname, relative to the current directory.
-func_backup ()
-{
-  if $doit; then
-    if test -f "$1"; then
-      rm -f "$1~"
-      cp -p "$1" "$1~"
-    fi
-  fi
-}
-
-# Now copy the files.
-for file in `find "$work_dir/archive" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C sort`; do
-  func_destfile "$file"
-  if test -n "$destfile"; then
-    func_copy_to_destfile ()
-    {
-      finaldestfile="$1"
-      mustcopy=
-      if test -f "$finaldestfile"; then
-        if func_compare "$finaldestfile" "$work_dir/archive/$file"; then
-          if test -n "$force"; then
-            # Overwrite locally modified file.
-            mustcopy=yes
-          fi
-          # If --force is not specified, don't overwrite locally modified files
-          # for which GNU gettext is a shared owner.
-        fi
-      else
-        mustcopy=yes
-      fi
-      if test -n "$mustcopy"; then
-        func_backup "$finaldestfile"
-        func_copy "$work_dir/archive/$file" "$finaldestfile"
-      fi
-    }
-    if test -n "$allpodirs"; then
-      for dir in $podirs; do
-        func_copy_to_destfile "$dir/$destfile"
-      done
-    else
-      func_copy_to_destfile "$destfile"
-    fi
-  fi
-done
-
-# That's it.
-rm -rf "$work_dir"
-exit 0

TEMPAT SAMPAH
envsubst.exe


+ 2 - 2
firmware/50-edk2-i386-secure.json

@@ -6,11 +6,11 @@
     "mapping": {
         "device": "flash",
         "executable": {
-            "filename": "/bin/edk2-i386-secure-code.fd",
+            "filename": "/qemu/edk2-i386-secure-code.fd",
             "format": "raw"
         },
         "nvram-template": {
-            "filename": "/bin/edk2-i386-vars.fd",
+            "filename": "/qemu/edk2-i386-vars.fd",
             "format": "raw"
         }
     },

+ 2 - 2
firmware/50-edk2-x86_64-secure.json

@@ -6,11 +6,11 @@
     "mapping": {
         "device": "flash",
         "executable": {
-            "filename": "/bin/edk2-x86_64-secure-code.fd",
+            "filename": "/qemu/edk2-x86_64-secure-code.fd",
             "format": "raw"
         },
         "nvram-template": {
-            "filename": "/bin/edk2-i386-vars.fd",
+            "filename": "/qemu/edk2-i386-vars.fd",
             "format": "raw"
         }
     },

+ 2 - 2
firmware/60-edk2-aarch64.json

@@ -6,11 +6,11 @@
     "mapping": {
         "device": "flash",
         "executable": {
-            "filename": "/bin/edk2-aarch64-code.fd",
+            "filename": "/qemu/edk2-aarch64-code.fd",
             "format": "raw"
         },
         "nvram-template": {
-            "filename": "/bin/edk2-arm-vars.fd",
+            "filename": "/qemu/edk2-arm-vars.fd",
             "format": "raw"
         }
     },

+ 2 - 2
firmware/60-edk2-arm.json

@@ -6,11 +6,11 @@
     "mapping": {
         "device": "flash",
         "executable": {
-            "filename": "/bin/edk2-arm-code.fd",
+            "filename": "/qemu/edk2-arm-code.fd",
             "format": "raw"
         },
         "nvram-template": {
-            "filename": "/bin/edk2-arm-vars.fd",
+            "filename": "/qemu/edk2-arm-vars.fd",
             "format": "raw"
         }
     },

+ 2 - 2
firmware/60-edk2-i386.json

@@ -6,11 +6,11 @@
     "mapping": {
         "device": "flash",
         "executable": {
-            "filename": "/bin/edk2-i386-code.fd",
+            "filename": "/qemu/edk2-i386-code.fd",
             "format": "raw"
         },
         "nvram-template": {
-            "filename": "/bin/edk2-i386-vars.fd",
+            "filename": "/qemu/edk2-i386-vars.fd",
             "format": "raw"
         }
     },

+ 2 - 2
firmware/60-edk2-x86_64.json

@@ -6,11 +6,11 @@
     "mapping": {
         "device": "flash",
         "executable": {
-            "filename": "/bin/edk2-x86_64-code.fd",
+            "filename": "/qemu/edk2-x86_64-code.fd",
             "format": "raw"
         },
         "nvram-template": {
-            "filename": "/bin/edk2-i386-vars.fd",
+            "filename": "/qemu/edk2-i386-vars.fd",
             "format": "raw"
         }
     },

+ 0 - 39
gdbus-codegen

@@ -1,39 +0,0 @@
-#!/usr/bin/python
-
-# GDBus - GLib D-Bus Library
-#
-# Copyright (C) 2008-2011 Red Hat, Inc.
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
-#
-# This library 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
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General
-# Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
-#
-# Author: David Zeuthen <davidz@redhat.com>
-
-
-import os
-import sys
-
-srcdir = os.getenv('UNINSTALLED_GLIB_SRCDIR', None)
-
-if srcdir is not None:
-    path = os.path.join(srcdir, 'gio', 'gdbus-2.0')
-elif os.name == 'nt':
-    # Makes gdbus-codegen 'relocatable' at runtime on Windows.
-    path = os.path.join(os.path.dirname(__file__), '..', 'share', 'glib-2.0')
-else:
-    path = os.path.join('/builds/community/qemu-stm32/sysroot-cross/share', 'glib-2.0')
-
-sys.path.insert(0, os.path.abspath(path))
-from codegen import codegen_main
-
-sys.exit(codegen_main.codegen_main())

TEMPAT SAMPAH
gdbus.exe


TEMPAT SAMPAH
gettext.exe


+ 0 - 121
gettext.sh

@@ -1,121 +0,0 @@
-#! /bin/sh
-#
-# Copyright (C) 2003, 2005-2007, 2011, 2015-2016 Free Software Foundation, Inc.
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, 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 Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-#
-
-# Find a way to echo strings without interpreting backslash.
-if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
-  echo='echo'
-else
-  if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
-    echo='printf %s\n'
-  else
-    echo_func () {
-      cat <<EOT
-$*
-EOT
-    }
-    echo='echo_func'
-  fi
-fi
-
-# This script is primarily a shell function library. In order for
-# ". gettext.sh" to find it, we install it in $PREFIX/bin (that is usually
-# contained in $PATH), rather than in some other location such as
-# $PREFIX/share/sh-scripts or $PREFIX/share/gettext. In order to not violate
-# the Filesystem Hierarchy Standard when doing so, this script is executable.
-# Therefore it needs to support the standard --help and --version.
-if test -z "${ZSH_VERSION+set}"; then
-  # zsh is not POSIX compliant: By default, while ". gettext.sh" is executed,
-  # it sets $0 to "gettext.sh", defeating the purpose of this test. But
-  # fortunately we know that when running under zsh, this script is always
-  # being sourced, not executed, because hardly anyone is crazy enough to
-  # install zsh as /bin/sh.
-  case "$0" in
-    gettext.sh | */gettext.sh | *\\gettext.sh)
-      progname=$0
-      package=gettext-runtime
-      version=0.19.8
-      # func_usage
-      # outputs to stdout the --help usage message.
-      func_usage ()
-      {
-        echo "GNU gettext shell script function library version $version"
-        echo "Usage: . gettext.sh"
-      }
-      # func_version
-      # outputs to stdout the --version message.
-      func_version ()
-      {
-        echo "$progname (GNU $package) $version"
-        echo "Copyright (C) 2003-2007 Free Software Foundation, Inc.
-License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
-This is free software: you are free to change and redistribute it.
-There is NO WARRANTY, to the extent permitted by law."
-        echo "Written by" "Bruno Haible"
-      }
-      if test $# = 1; then
-        case "$1" in
-          --help | --hel | --he | --h )
-            func_usage; exit 0 ;;
-          --version | --versio | --versi | --vers | --ver | --ve | --v )
-            func_version; exit 0 ;;
-        esac
-      fi
-      func_usage 1>&2
-      exit 1
-      ;;
-  esac
-fi
-
-# eval_gettext MSGID
-# looks up the translation of MSGID and substitutes shell variables in the
-# result.
-eval_gettext () {
-  gettext "$1" | (export PATH `envsubst --variables "$1"`; envsubst "$1")
-}
-
-# eval_ngettext MSGID MSGID-PLURAL COUNT
-# looks up the translation of MSGID / MSGID-PLURAL for COUNT and substitutes
-# shell variables in the result.
-eval_ngettext () {
-  ngettext "$1" "$2" "$3" | (export PATH `envsubst --variables "$1 $2"`; envsubst "$1 $2")
-}
-
-# Note: This use of envsubst is much safer than using the shell built-in 'eval'
-# would be.
-# 1) The security problem with Chinese translations that happen to use a
-#    character such as \xe0\x60 is avoided.
-# 2) The security problem with malevolent translators who put in command lists
-#    like "$(...)" or "`...`" is avoided.
-# 3) The translations can only refer to shell variables that are already
-#    mentioned in MSGID or MSGID-PLURAL.
-#
-# Note: "export PATH" above is a dummy; this is for the case when
-# `envsubst --variables ...` returns nothing.
-#
-# Note: In eval_ngettext above, "$1 $2" means a string whose variables set is
-# the union of the variables set of "$1" and "$2".
-#
-# Note: The minimal use of backquote above ensures that trailing newlines are
-# not dropped, not from the gettext invocation and not from the value of any
-# shell variable.
-#
-# Note: Field splitting on the `envsubst --variables ...` result is desired,
-# since envsubst outputs the variables, separated by newlines. Pathname
-# wildcard expansion or tilde expansion has no effect here, since the words
-# output by "envsubst --variables ..." consist solely of alphanumeric
-# characters and underscore.

+ 0 - 1347
gettextize

@@ -1,1347 +0,0 @@
-#! /bin/sh
-#
-# Copyright (C) 1995-1998, 2000-2016 Free Software Foundation, Inc.
-#
-# 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 3 of the License, 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, see <http://www.gnu.org/licenses/>.
-#
-
-# This file is meant for authors or maintainers which want to
-# internationalize their package with the help of GNU gettext.  For
-# further information how to use it consult the GNU gettext manual.
-
-progname=$0
-package=gettext-tools
-version=0.19.8
-archive_version=0.19.8
-
-# Set variables
-# - gettext_datadir     directory where the data files are stored.
-prefix="/builds/community/qemu-stm32/sysroot-cross"
-datarootdir="${prefix}/share"
-: ${gettext_datadir="${datarootdir}/gettext"}
-: ${AUTOM4TE=autom4te}
-
-# func_tmpdir
-# creates a temporary directory.
-# Sets variable
-# - tmp             pathname of freshly created temporary directory
-func_tmpdir ()
-{
-  # Use the environment variable TMPDIR, falling back to /tmp. This allows
-  # users to specify a different temporary directory, for example, if their
-  # /tmp is filled up or too small.
-  : ${TMPDIR=/tmp}
-  {
-    # Use the mktemp program if available. If not available, hide the error
-    # message.
-    tmp=`(umask 077 && mktemp -d "$TMPDIR/gtXXXXXX") 2>/dev/null` &&
-    test -n "$tmp" && test -d "$tmp"
-  } ||
-  {
-    # Use a simple mkdir command. It is guaranteed to fail if the directory
-    # already exists.  $RANDOM is bash specific and expands to empty in shells
-    # other than bash, ksh and zsh.  Its use does not increase security;
-    # rather, it minimizes the probability of failure in a very cluttered /tmp
-    # directory.
-    tmp=$TMPDIR/gt$$-$RANDOM
-    (umask 077 && mkdir "$tmp")
-  } ||
-  {
-    echo "$0: cannot create a temporary directory in $TMPDIR" >&2
-    { (exit 1); exit 1; }
-  }
-}
-
-# Support for relocatability.
-func_find_curr_installdir ()
-{
-  # Determine curr_installdir, even taking into account symlinks.
-  curr_executable="$0"
-  case "$curr_executable" in
-    */* | *\\*) ;;
-    *) # Need to look in the PATH.
-      save_IFS="$IFS"; IFS="${PATH_SEPARATOR=':'}"
-      for dir in $PATH; do
-        IFS="$save_IFS"
-        test -z "$dir" && dir=.
-        for exec_ext in ''; do
-          if test -f "$dir/$curr_executable$exec_ext"; then
-            curr_executable="$dir/$curr_executable$exec_ext"
-            break 2
-          fi
-        done
-      done
-      IFS="$save_IFS"
-      ;;
-  esac
-  # Make absolute.
-  case "$curr_executable" in
-    /* | ?:/* | ?:\\*) ;;
-    *) curr_executable=`pwd`/"$curr_executable" ;;
-  esac
-  # Resolve symlinks.
-  sed_dirname='s,/[^/]*$,,'
-  sed_linkdest='s,^.* -> \(.*\),\1,p'
-  while : ; do
-    lsline=`LC_ALL=C ls -l "$curr_executable"`
-    case "$lsline" in
-      *" -> "*)
-        linkdest=`echo "$lsline" | sed -n -e "$sed_linkdest"`
-        case "$linkdest" in
-          /* | ?:/* | ?:\\*) curr_executable="$linkdest" ;;
-          *) curr_executable=`echo "$curr_executable" | sed -e "$sed_dirname"`/"$linkdest" ;;
-        esac ;;
-      *) break ;;
-    esac
-  done
-  curr_installdir=`echo "$curr_executable" | sed -e 's,/[^/]*$,,'`
-  # Canonicalize.
-  curr_installdir=`cd "$curr_installdir" && pwd`
-}
-func_find_prefixes ()
-{
-  # Compute the original/current installation prefixes by stripping the
-  # trailing directories off the original/current installation directories.
-  orig_installprefix="$orig_installdir"
-  curr_installprefix="$curr_installdir"
-  while true; do
-    orig_last=`echo "$orig_installprefix" | sed -n -e 's,^.*/\([^/]*\)$,\1,p'`
-    curr_last=`echo "$curr_installprefix" | sed -n -e 's,^.*/\([^/]*\)$,\1,p'`
-    if test -z "$orig_last" || test -z "$curr_last"; then
-      break
-    fi
-    if test "$orig_last" != "$curr_last"; then
-      break
-    fi
-    orig_installprefix=`echo "$orig_installprefix" | sed -e 's,/[^/]*$,,'`
-    curr_installprefix=`echo "$curr_installprefix" | sed -e 's,/[^/]*$,,'`
-  done
-}
-if test "no" = yes; then
-  exec_prefix="${prefix}"
-  bindir="${exec_prefix}/bin"
-  orig_installdir="$bindir" # see Makefile.am's *_SCRIPTS variables
-  func_find_curr_installdir # determine curr_installdir
-  func_find_prefixes
-  # Relocate the directory variables that we use.
-  gettext_datadir=`echo "$gettext_datadir/" | sed -e "s%^${orig_installprefix}/%${curr_installprefix}/%" | sed -e 's,/$,,'`
-fi
-
-# func_trace_autoconf macro configure.ac
-# traces an Autoconf macro call and outputs the arguments to stdout,
-# using autom4te.
-func_trace_autoconf ()
-{
-  echo '\
-dnl replace macros which may abort autom4te with a no-op variant
-m4_pushdef([m4_assert])
-m4_pushdef([m4_fatal])
-m4_pushdef([m4_warn])
-m4_pushdef([m4_errprintn])
-m4_pushdef([m4_exit])
-m4_pushdef([m4_include])
-m4_pushdef([m4_esyscmd])
-' \
-  | "$AUTOM4TE" --no-cache --language=Autoconf-without-aclocal-m4 \
-    --trace="$1":\$% - "$2" 2>/dev/null
-}
-
-# func_trace_sed macro configure.ac
-# traces an Autoconf macro call and outputs the arguments to stdout,
-# using sed.
-func_trace_sed ()
-{
-  sed_extract_arguments='
-s,#.*$,,; s,^dnl .*$,,; s, dnl .*$,,;
-/'"$1"'(/ {
-  ta
-  :a
-    s/)/)/
-    tb
-    s/\\$//
-    N
-    ba
-  :b
-  s,^.*'"$1"'([[ ]*\([^]"$`\\)]*\).*$,\1,p
-}
-d'
-  sed -e "$sed_extract_arguments" "$2"
-}
-
-# func_usage
-# outputs to stdout the --help usage message.
-func_usage ()
-{
-  echo "\
-Usage: gettextize [OPTION]... [package-dir]
-
-Prepares a source package to use gettext.
-
-Options:
-      --help           print this help and exit
-      --version        print version information and exit
-  -f, --force          force writing of new files even if old exist
-      --intl           install libintl in a subdirectory (deprecated)
-      --po-dir=DIR     specify directory with PO files
-      --no-changelog   don't update or create ChangeLog files
-      --symlink        make symbolic links instead of copying files
-  -n, --dry-run        print modifications but don't perform them
-
-Report bugs to <bug-gnu-gettext@gnu.org>."
-}
-
-# func_version
-# outputs to stdout the --version message.
-func_version ()
-{
-  echo "$progname (GNU $package) $version"
-  echo "Copyright (C) 1995-1998, 2000-2013 Free Software Foundation, Inc.
-License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
-This is free software: you are free to change and redistribute it.
-There is NO WARRANTY, to the extent permitted by law."
-  echo "Written by" "Ulrich Drepper"
-}
-
-# func_fatal_error message
-# outputs to stderr a fatal error message, and terminates the program.
-func_fatal_error ()
-{
-  echo "gettextize: *** $1" 1>&2
-  echo "gettextize: *** Stop." 1>&2
-  exit 1
-}
-
-# Nuisances.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-# Command-line option processing.
-# Removes the OPTIONS from the arguments. Sets the variables:
-# - force           1 if --force was given, 0 otherwise
-# - intldir         yes if --intl was given, empty otherwise
-# - podirs          list of directories specified with --po-dir
-# - try_ln_s        : if --symlink was given, false otherwise
-# - do_changelog    false if --no-changelog was given, : otherwise
-# - doit            false if --dry-run was given, : otherwise
-{
-  force=0
-  intldir=
-  podirs=
-  try_ln_s=false
-  do_changelog=:
-  doit=:
-
-  while test $# -gt 0; do
-    case "$1" in
-      -c | --copy | --cop | --co | --c ) # accepted for backward compatibility
-        shift ;;
-      -n | --dry-run | --dry-ru | --dry-r | --dry- | --dry | --dr | --d )
-        shift
-        doit=false ;;
-      -f | --force | --forc | --for | --fo | --f )
-        shift
-        force=1 ;;
-      --help | --hel | --he | --h )
-        func_usage; exit 0 ;;
-      --intl | --int | --in | --i )
-        shift
-        intldir=yes ;;
-      --po-dir | --po-di | --po-d | --po- | --po | --p )
-        shift 
-        if test $# = 0; then
-          func_fatal_error "missing argument for --po-dir"
-        fi
-        case "$1" in
-          -*) func_fatal_error "missing argument for --po-dir" ;;
-        esac
-        podirs="$podirs $1"
-        shift ;;
-      --po-dir=* )
-        arg=`echo "X$1" | sed -e 's/^X--po-dir=//'`
-        podirs="$podirs $arg"
-        shift ;;
-      --no-changelog | --no-changelo | --no-changel | --no-change | --no-chang | --no-chan | --no-cha | --no-ch | --no-c )
-        shift
-        do_changelog=false ;;
-      --symlink | --symlin | --symli | --syml | --sym | --sy | --s )
-        shift
-        try_ln_s=: ;;
-      --version | --versio | --versi | --vers | --ver | --ve | --v )
-        func_version
-        exit 0 ;;
-      -- ) # Stop option prcessing
-        shift; break ;;
-      -* )
-        echo "gettextize: unknown option $1" 1>&2
-        echo "Try 'gettextize --help' for more information." 1>&2
-        exit 1 ;;
-      * )
-        break ;;
-    esac
-  done
-  # podirs defaults to "po".
-  test -n "$podirs" || podirs="po"
-}
-
-# Warn about deprecated options.
-if test -n "$intldir"; then
-  echo "gettextize: warning: the option '--intl' is deprecated and will be removed" 1>&2
-fi
-
-# Command-line argument processing.
-# Analyzes the remaining arguments.
-# Sets the variables
-# - origdir         to the original directory,
-# - srcdir          to the package directory, and cd-s into it.
-{
-  if test $# -gt 1; then
-    func_usage 1>&2
-    exit 1
-  fi
-  origdir=`pwd`
-  if test $# -eq 1; then
-    srcdir=$1
-    if cd "$srcdir"; then
-      srcdir=`pwd`
-    else
-      func_fatal_error "Cannot change directory to '$srcdir'."
-    fi
-  else
-    srcdir=$origdir
-  fi
-}
-
-# The current directory is now $srcdir.
-
-# Check integrity of package: A configure.in/ac must be present. Sets variable
-# - configure_in    name of configure.in/ac file.
-test -f configure.in || test -f configure.ac ||
-  func_fatal_error "Missing configure.in or configure.ac, please cd to your package first."
-configure_in=NONE
-if test -f configure.in; then
-  configure_in=configure.in
-else
-  if test -f configure.ac; then
-    configure_in=configure.ac
-  fi
-fi
-
-# Check whether the --force option is needed but has not been specified.
-if test $force -eq 0; then
-  if test -d intl; then
-    func_fatal_error "intl/ subdirectory exists: use option -f if you really want to delete it."
-  fi
-  for podir in $podirs; do
-    if test -f "$podir/Makefile.in.in"; then
-      func_fatal_error "$podir/Makefile.in.in exists: use option -f if you really want to delete it."
-    fi
-  done
-  if test -f ABOUT-NLS; then
-    func_fatal_error "ABOUT-NLS exists: use option -f if you really want to delete it."
-  fi
-fi
-
-# Select the method for Autoconf macro tracing.  func_trace_autoconf
-# is more accurate than func_trace_sed, but it only works with
-# autoconf >= 2.69.
-if echo "AC_PREREQ([2.69])" \
-  | "$AUTOM4TE" --no-cache --language=Autoconf-without-aclocal-m4 - 2>&1; then
-  func_trace=func_trace_autoconf
-else
-  func_trace=func_trace_sed
-fi
-
-# Check in which directory config.rpath etc. belong.
-auxdir=`"$func_trace" AC_CONFIG_AUX_DIR "$configure_in"`
-if test -n "$auxdir"; then
-  auxdir="$auxdir/"
-fi
-
-# Check in which directory gettext.m4 etc. belong.
-macrodirs=`"$func_trace" AC_CONFIG_MACRO_DIR_TRACE "$configure_in"`
-if test -z "$macrodirs"; then
-  macrodirs=`"$func_trace" AC_CONFIG_MACRO_DIR "$configure_in"`
-fi
-for arg in $macrodirs; do
-  m4dir="$arg"
-  break
-done
-
-# For simplicity we change to the gettext source directory.
-cd "$gettext_datadir" ||
-  func_fatal_error "gettext source directory '${gettext_datadir}' doesn't exist"
-
-# Variables which keep track what has been modified.
-added_directories=
-removed_directory=
-added_extradist=
-added_acoutput=
-removed_acoutput=" intl/intlh.inst"
-
-# Variable:
-# - please          accumulates instructions for the user.
-please=
-
-# Variable:
-# - date            current date, for use in ChangeLog entries.
-date=`date +%Y-%m-%d`
-
-# func_copy from to
-# copies a file.
-# 'from' is a relative pathname, relative to the current directory.
-# 'to' is a relative pathname, relative to $srcdir.
-func_copy ()
-{
-  if $doit; then
-    rm -f "$srcdir/$2"
-    echo "Copying file $2"
-    cp "$1" "$srcdir/$2"
-  else
-    echo "Copy file $2"
-  fi
-}
-
-# func_linkorcopy from absfrom to
-# links or copies a file.
-# 'from' is a relative pathname, relative to the current directory.
-# 'absfrom' is the corresponding absolute pathname.
-# 'to' is a relative pathname, relative to $srcdir.
-func_linkorcopy ()
-{
-  if $doit; then
-    rm -f "$srcdir/$3"
-    ($try_ln_s && ln -s "$2" "$srcdir/$3" && echo "Symlinking file $3") 2>/dev/null ||
-    { echo "Copying file $3"; cp "$1" "$srcdir/$3"; }
-  else
-    if $try_ln_s; then
-      echo "Symlink file $3"
-    else
-      echo "Copy file $3"
-    fi
-  fi
-}
-
-# func_backup to
-# makes a backup of a file that is about to be overwritten or replaced.
-# 'to' is a relative pathname, relative to $srcdir.
-func_backup ()
-{
-  if $doit; then
-    if test -f "$srcdir/$1"; then
-      rm -f "$srcdir/$1~"
-      cp -p "$srcdir/$1" "$srcdir/$1~"
-    fi
-  fi
-}
-
-# func_remove to
-# removes a file.
-# 'to' is a relative pathname, relative to $srcdir.
-func_remove ()
-{
-  if $doit; then
-    echo "Removing $1"
-    rm -f "$srcdir/$1"
-  else
-    echo "Remove $1"
-  fi
-}
-
-# func_ChangeLog_init
-# func_ChangeLog_add_entry line
-# func_ChangeLog_finish
-# manage the ChangeLog file, relative to $srcdir.
-func_ChangeLog_init ()
-{
-  modified_ChangeLog=
-}
-func_ChangeLog_add_entry ()
-{
-  if $doit; then
-    if test -z "$modified_ChangeLog"; then
-      echo "$date  gettextize  <bug-gnu-gettext@gnu.org>" > "$srcdir/ChangeLog.tmp"
-      echo >> "$srcdir/ChangeLog.tmp"
-      modified_ChangeLog=yes
-    fi
-    echo "$1" >> "$srcdir/ChangeLog.tmp"
-  else
-    modified_ChangeLog=yes
-  fi
-}
-func_ChangeLog_finish ()
-{
-  if test -n "$modified_ChangeLog"; then
-    if $doit; then
-      echo >> "$srcdir/ChangeLog.tmp"
-      if test -f "$srcdir/ChangeLog"; then
-        echo "Adding an entry to ChangeLog (backup is in ChangeLog~)"
-        cat "$srcdir/ChangeLog" >> "$srcdir/ChangeLog.tmp"
-        rm -f "$srcdir/ChangeLog~"
-        cp -p "$srcdir/ChangeLog" "$srcdir/ChangeLog~"
-      else
-        echo "Creating ChangeLog"
-      fi
-      cp "$srcdir/ChangeLog.tmp" "$srcdir/ChangeLog"
-      rm -f "$srcdir/ChangeLog.tmp"
-    else
-      if test -f "$srcdir/ChangeLog"; then
-        echo "Add an entry to ChangeLog"
-      else
-        echo "Create ChangeLog"
-      fi
-    fi
-  fi
-}
-
-# func_poChangeLog_init
-# func_poChangeLog_add_entry line
-# func_poChangeLog_finish
-# manage the $podir/ChangeLog file, relative to $srcdir.
-func_poChangeLog_init ()
-{
-  modified_poChangeLog=
-}
-func_poChangeLog_add_entry ()
-{
-  if $doit; then
-    if test -z "$modified_poChangeLog"; then
-      echo "$date  gettextize  <bug-gnu-gettext@gnu.org>" > "$srcdir/$podir/ChangeLog.tmp"
-      echo >> "$srcdir/$podir/ChangeLog.tmp"
-      modified_poChangeLog=yes
-    fi
-    echo "$1" >> "$srcdir/$podir/ChangeLog.tmp"
-  else
-    modified_poChangeLog=yes
-  fi
-}
-func_poChangeLog_finish ()
-{
-  if test -n "$modified_poChangeLog"; then
-    if $doit; then
-      echo >> "$srcdir/$podir/ChangeLog.tmp"
-      if test -f "$srcdir/$podir/ChangeLog"; then
-        echo "Adding an entry to $podir/ChangeLog (backup is in $podir/ChangeLog~)"
-        cat "$srcdir/$podir/ChangeLog" >> "$srcdir/$podir/ChangeLog.tmp"
-        rm -f "$srcdir/$podir/ChangeLog~"
-        cp -p "$srcdir/$podir/ChangeLog" "$srcdir/$podir/ChangeLog~"
-      else
-        echo "Creating $podir/ChangeLog"
-      fi
-      cp "$srcdir/$podir/ChangeLog.tmp" "$srcdir/$podir/ChangeLog"
-      rm -f "$srcdir/$podir/ChangeLog.tmp"
-    else
-      if test -f "$srcdir/$podir/ChangeLog"; then
-        echo "Add an entry to $podir/ChangeLog"
-      else
-        echo "Create $podir/ChangeLog"
-      fi
-    fi
-  fi
-}
-
-# func_m4ChangeLog_init
-# func_m4ChangeLog_add_entry line
-# func_m4ChangeLog_finish
-# manage the $m4dir/ChangeLog file, relative to $srcdir.
-func_m4ChangeLog_init ()
-{
-  if test -n "$using_m4ChangeLog"; then
-    modified_m4ChangeLog=
-    created_m4ChangeLog=
-  fi
-}
-func_m4ChangeLog_add_entry ()
-{
-  if test -n "$using_m4ChangeLog"; then
-    if $doit; then
-      if test -z "$modified_m4ChangeLog"; then
-        echo "$date  gettextize  <bug-gnu-gettext@gnu.org>" > "$srcdir/$m4dir/ChangeLog.tmp"
-        echo >> "$srcdir/$m4dir/ChangeLog.tmp"
-        modified_m4ChangeLog=yes
-      fi
-      echo "$1" >> "$srcdir/$m4dir/ChangeLog.tmp"
-    else
-      modified_m4ChangeLog=yes
-    fi
-  else
-    line="$1"
-    line=`echo "$line" | sed -e "s%^	\\* %	* $m4dir/%"`
-    func_ChangeLog_add_entry "$line"
-  fi
-}
-func_m4ChangeLog_finish ()
-{
-  if test -n "$using_m4ChangeLog"; then
-    if test -n "$modified_m4ChangeLog"; then
-      if $doit; then
-        echo >> "$srcdir/$m4dir/ChangeLog.tmp"
-        if test -f "$srcdir/$m4dir/ChangeLog"; then
-          echo "Adding an entry to $m4dir/ChangeLog (backup is in $m4dir/ChangeLog~)"
-          cat "$srcdir/$m4dir/ChangeLog" >> "$srcdir/$m4dir/ChangeLog.tmp"
-          rm -f "$srcdir/$m4dir/ChangeLog~"
-          cp -p "$srcdir/$m4dir/ChangeLog" "$srcdir/$m4dir/ChangeLog~"
-        else
-          echo "Creating $m4dir/ChangeLog"
-          created_m4ChangeLog=yes
-        fi
-        cp "$srcdir/$m4dir/ChangeLog.tmp" "$srcdir/$m4dir/ChangeLog"
-        rm -f "$srcdir/$m4dir/ChangeLog.tmp"
-      else
-        if test -f "$srcdir/$m4dir/ChangeLog"; then
-          echo "Add an entry to $m4dir/ChangeLog"
-        else
-          echo "Create $m4dir/ChangeLog"
-          created_m4ChangeLog=yes
-        fi
-      fi
-    fi
-  fi
-}
-using_m4ChangeLog=yes
-
-if test ! -f "$srcdir/intl/Makefile.in" && test -n "$intldir"; then
-  added_acoutput="$added_acoutput intl/Makefile"
-fi
-if test -f "$srcdir/intl/Makefile.in" && test -z "$intldir"; then
-  removed_acoutput="$removed_acoutput intl/Makefile"
-fi
-if test -d "$srcdir/intl"; then
-  # Remove everything inside intl except for RCS and CVS subdirs and invisible
-  # files.
-  if $doit; then
-    echo "Wiping out intl/ subdirectory"
-    (cd "$srcdir/intl" &&
-     for f in *; do
-       if test CVS != "$f" && test RCS != "$f"; then
-         rm -rf "$f"
-       fi
-     done)
-  else
-    echo "Wipe out intl/ subdirectory"
-  fi
-  if test -z "$intldir"; then
-    removed_directory=intl
-  fi
-else
-  if test -n "$intldir"; then
-    if $doit; then
-      echo "Creating intl/ subdirectory"
-      mkdir "$srcdir/intl" || func_fatal_error "failed to create intl/ subdirectory"
-    else
-      echo "Create intl/ subdirectory"
-    fi
-    added_directories="$added_directories intl"
-  fi
-fi
-
-$do_changelog && func_ChangeLog_init
-
-for podir in $podirs; do
-  test -d "$srcdir/$podir" || {
-    if $doit; then
-      echo "Creating $podir/ subdirectory"
-      mkdir "$srcdir/$podir" || func_fatal_error "failed to create $podir/ subdirectory"
-    else
-      echo "Create $podir/ subdirectory"
-    fi
-    added_directories="$added_directories $podir"
-  }
-done
-
-# Create the directory for config.rpath, if needed.
-# This is for consistency with autoreconf and automake.
-# Note that $auxdir is either empty or ends in a slash.
-test -d "$srcdir/$auxdir" || {
-  if $doit; then
-    echo "Creating $auxdir subdirectory"
-    mkdir "$srcdir/$auxdir" || func_fatal_error "failed to create $auxdir subdirectory"
-  else
-    echo "Create $auxdir subdirectory"
-  fi
-}
-
-# Now copy all files.  Take care for the destination directories.
-for file in *; do
-  case $file in
-    ABOUT-NLS)
-      func_linkorcopy $file "$gettext_datadir/$file" $file
-      ;;
-    config.rpath)
-      if test -f "$srcdir/$auxdir$file"; then
-        :
-      else
-        added_extradist="$added_extradist $auxdir$file"
-      fi
-      func_linkorcopy $file "$gettext_datadir/$file" "$auxdir$file"
-      ;;
-  esac
-done
-
-# Copy files to intl/ subdirectory.
-if test -n "$intldir"; then
-  cd intl
-  for file in *; do
-    if test $file != COPYING.LIB-2.0 && test $file != COPYING.LIB-2.1; then
-      if test $file != plural.c; then
-        func_linkorcopy $file "$gettext_datadir/intl/$file" intl/$file
-      else
-        # plural.c is a generated file; it must be copied and touched.
-        func_copy $file intl/$file
-        if $doit; then
-          (sleep 2; touch "$srcdir/intl/$file") &
-        fi
-      fi
-    fi
-  done
-  cd ..
-else
-  echo "Not copying intl/ directory."
-  # Tell the user what to put into configure.ac, if it is not already there.
-  external=
-  # Need to use func_trace_sed instead of $func_trace, since
-  # AM_GNU_GETTEXT is not a standard Autoconf trace.
-  xargs=`func_trace_sed AM_GNU_GETTEXT "$srcdir/$configure_in"`
-  save_IFS="$IFS"; IFS=:
-  for arg in $xargs; do
-    if test 'external' = "$arg"; then
-      external=yes
-      break
-    fi
-  done
-  IFS="$save_IFS"
-  if test -z "$external"; then
-    please="$please
-Please use AM_GNU_GETTEXT([external]) in order to cause autoconfiguration
-to look for an external libintl.
-"
-  fi
-fi
-
-# Copy files to po/ subdirectory.
-cd po
-for podir in $podirs; do
-  $do_changelog && func_poChangeLog_init
-  for file in Makefile.in.in; do
-    same=no
-    if test -f "$srcdir/$podir/$file"; then
-      if cmp -s $file "$srcdir/$podir/$file"; then
-        same=yes
-      fi
-    else
-      added_acoutput="$added_acoutput $podir/Makefile.in"
-    fi
-    if $do_changelog && test $same = no; then
-      if test -f "$srcdir/$podir/$file"; then
-        func_poChangeLog_add_entry "	* $file: Upgrade to gettext-${version}."
-      else
-        func_poChangeLog_add_entry "	* $file: New file, from gettext-${version}."
-      fi
-    fi
-    func_backup "$podir/$file"
-    func_linkorcopy $file "$gettext_datadir/po/$file" "$podir/$file"
-  done
-  for file in *; do
-    case $file in
-      Makefile.in.in)
-        # Already handled above.
-        ;;
-      Makevars.template)
-        func_linkorcopy Makevars.template "$gettext_datadir/po/Makevars.template" "$podir/Makevars.template"
-        if test -f "$srcdir/po/Makevars"; then
-          LC_ALL=C sed -n -e 's/[ 	]*\([A-Za-z0-9_]*\)[ 	]*=.*/\1/p' < "$srcdir/$podir/Makevars" | LC_ALL=C sort > "$srcdir/$podir/Makevars.tmp1"
-          LC_ALL=C sed -n -e 's/[ 	]*\([A-Za-z0-9_]*\)[ 	]*=.*/\1/p' < "$srcdir/$podir/Makevars.template" | LC_ALL=C sort > "$srcdir/$podir/Makevars.tmp2"
-          missingvars=`LC_ALL=C comm -13 "$srcdir/$podir/Makevars.tmp1" "$srcdir/$podir/Makevars.tmp2"`
-          rm -f "$srcdir/$podir/Makevars.tmp1" "$srcdir/$podir/Makevars.tmp2"
-          if test -n "$missingvars"; then
-            please="$please
-Please update $podir/Makevars so that it defines all the variables mentioned
-in $podir/Makevars.template.
-You can then remove $podir/Makevars.template.
-"
-          fi
-        else
-          please="$please
-Please create $podir/Makevars from the template in $podir/Makevars.template.
-You can then remove $podir/Makevars.template.
-"
-        fi
-        ;;
-      *)
-        same=no
-        if test -f "$srcdir/$podir/$file"; then
-          if cmp -s $file "$srcdir/$podir/$file"; then
-            same=yes
-          fi
-        fi
-        if $do_changelog && test $same = no; then
-          if test -f "$srcdir/$podir/$file"; then
-            func_poChangeLog_add_entry "	* $file: Upgrade to gettext-${version}."
-          else
-            func_poChangeLog_add_entry "	* $file: New file, from gettext-${version}."
-          fi
-        fi
-        func_backup "$podir/$file"
-        func_linkorcopy $file "$gettext_datadir/po/$file" "$podir/$file"
-        ;;
-    esac
-  done
-  if test -f "$srcdir/$podir/cat-id-tbl.c"; then
-    func_remove "$podir/cat-id-tbl.c"
-    $do_changelog && func_poChangeLog_add_entry "	* cat-id-tbl.c: Remove file."
-  fi
-  if test -f "$srcdir/$podir/stamp-cat-id"; then
-    func_remove "$podir/stamp-cat-id"
-    $do_changelog && func_poChangeLog_add_entry "	* stamp-cat-id: Remove file."
-  fi
-  if test ! -f "$srcdir/$podir/POTFILES.in"; then
-    if $doit; then
-      echo "Creating initial $podir/POTFILES.in"
-      echo '# List of source files which contain translatable strings.' > "$srcdir/$podir/POTFILES.in"
-    else
-      echo "Create initial $podir/POTFILES.in"
-    fi
-    $do_changelog && func_poChangeLog_add_entry "	* POTFILES.in: New file."
-    please="$please
-Please fill $podir/POTFILES.in as described in the documentation.
-"
-  fi
-  $do_changelog && func_poChangeLog_finish
-done
-
-# Determine whether we can assume automake 1.9 or newer.
-have_automake19=
-if (aclocal --version) >/dev/null 2>/dev/null; then
-  aclocal_version=`aclocal --version | sed -n -e 1p | sed -e 's/^[^0-9]*//'`
-  case $aclocal_version in
-    1.9* | 1.[1-9][0-9]* | [2-9]*) have_automake19=yes ;;
-  esac
-fi
-
-m4filelist='gettext.m4 iconv.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 nls.m4
- po.m4 progtest.m4'
-# With aclocal versions < 1.9 we need all m4 files, otherwise "aclocal -I m4"
-# might give an error. (aclocal < 1.9 didn't know which macros are really
-# needed, it looked which macros are potentially needed.)
-min_automake_version=1.9
-if test -n "$intldir" || test -z "$have_automake19"; then
-  # Add intldir.m4, intl.m4 and its dependencies.
-  m4filelist=$m4filelist' codeset.m4 fcntl-o.m4 glibc2.m4 glibc21.m4 intdiv0.m4
-   intl.m4 intldir.m4 intlmacosx.m4 intmax.m4 inttypes_h.m4 inttypes-pri.m4
-   lcmessage.m4 lock.m4 longlong.m4 printf-posix.m4 size_max.m4 stdint_h.m4
-   threadlib.m4 uintmax_t.m4 visibility.m4 wchar_t.m4 wint_t.m4 xsize.m4'
-  min_automake_version=1.8
-fi
-
-# All sorts of bugs could occur if the configure file was remade with the wrong
-# version of gettext.m4 et al. (because then the configure and the po/Makefile.in.in
-# don't fit together). It is therefore important that the package carries the
-# right versions of gettext.m4 et al. with it.
-if test -f "$srcdir/Makefile.am"; then
-  # A package using automake.
-
-  # Determine whether it's using automake 1.8 or newer.
-  have_automake18=
-  if (aclocal --version) >/dev/null 2>/dev/null; then
-    aclocal_version=`aclocal --version | sed -n -e 1p | sed -e 's/^[^0-9]*//'`
-    case $aclocal_version in
-      1.[8-9]* | 1.[1-9][0-9]* | [2-9]*) have_automake18=yes ;;
-    esac
-  fi
-
-  if test -z "$m4dir"; then
-    # Extract the macro directory name from Makefile.am.
-    aclocal_amflags=`grep '^ACLOCAL_AMFLAGS[ 	]*=' "$srcdir/Makefile.am" | sed -e 's/^ACLOCAL_AMFLAGS[ 	]*=\(.*\)$/\1/'`
-    m4dir_is_next=
-    for arg in $aclocal_amflags; do
-      if test -n "$m4dir_is_next"; then
-        # Ignore absolute directory pathnames, like /usr/local/share/aclocal.
-        case "$arg" in
-          /*) ;;
-          *)
-            test -z "$m4dir" || m4dir="$arg"
-            macrodirs="$macrodirs $arg"
-            ;;
-        esac
-        m4dir_is_next=
-      else
-        if test "X$arg" = "X-I"; then
-          m4dir_is_next=yes
-        else
-          m4dir_is_next=
-        fi
-      fi
-    done
-    for arg in $macrodirs; do
-      m4dir="$arg"
-      break
-    done
-  fi
-
-  if test -z "$m4dir"; then
-    m4dir=m4
-    m4dir_defaulted=yes
-  fi
-
-  # Decide whether to use $m4dir/ChangeLog, or to use ChangeLog instead.
-  if test -d "$srcdir/$m4dir" && test -f "$srcdir/ChangeLog" && test ! -f "$srcdir/$m4dir/ChangeLog"; then
-    # The programmer has no $m4dir/ChangeLog so far. Don't introduce one.
-    using_m4ChangeLog=
-  fi
-
-  # Update the *.m4 files and the corresponding Makefile.am.
-  $do_changelog && func_m4ChangeLog_init
-  added_m4dir=
-  added_m4files=
-  if test -d "$srcdir/$m4dir"; then
-    :
-  else
-    if $doit; then
-      echo "Creating directory $m4dir"
-      mkdir "$srcdir/$m4dir"
-    else
-      echo "Create directory $m4dir"
-    fi
-    added_m4dir=yes
-  fi
-  for file in $m4filelist; do
-    same=no
-    if test -f "$srcdir/$m4dir/$file"; then
-      if cmp -s "${datarootdir}/aclocal/$file" "$srcdir/$m4dir/$file"; then
-        same=yes
-      fi
-    else
-      added_m4files="$added_m4files $file"
-    fi
-    if $do_changelog && test $same = no; then
-      if test -f "$srcdir/$m4dir/$file"; then
-        func_m4ChangeLog_add_entry "	* $file: Upgrade to gettext-${version}."
-      else
-        func_m4ChangeLog_add_entry "	* $file: New file, from gettext-${version}."
-      fi
-    fi
-    func_backup "$m4dir/$file"
-    func_linkorcopy "${datarootdir}/aclocal/$file" "${datarootdir}/aclocal/$file" "$m4dir/$file"
-  done
-  missing_m4Makefileam=
-  if test -n "$added_m4files"; then
-    if test -f "$srcdir/$m4dir/Makefile.am"; then
-      if $doit; then
-        echo "Updating EXTRA_DIST in $m4dir/Makefile.am (backup is in $m4dir/Makefile.am~)"
-        func_backup "$m4dir/Makefile.am"
-        rm -f "$srcdir/$m4dir/Makefile.am"
-        if grep '^EXTRA_DIST[ 	]*=' "$srcdir/$m4dir/Makefile.am~" > /dev/null; then
-          sed -e "s%^\(EXTRA_DIST[ 	]*=\) \\?%\\1$added_m4files %" < "$srcdir/$m4dir/Makefile.am~" > "$srcdir/$m4dir/Makefile.am"
-          $do_changelog && func_m4ChangeLog_add_entry "	* Makefile.am (EXTRA_DIST): Add the new files."
-        else
-          (cat "$srcdir/$m4dir/Makefile.am~"; echo; echo "EXTRA_DIST =$added_m4files") > "$srcdir/$m4dir/Makefile.am"
-          $do_changelog && func_m4ChangeLog_add_entry "	* Makefile.am (EXTRA_DIST): New variable."
-        fi
-      else
-        echo "Update EXTRA_DIST in $m4dir/Makefile.am"
-        $do_changelog && func_m4ChangeLog_add_entry "	* Makefile.am (EXTRA_DIST)."
-      fi
-    else
-      # $m4dir/Makefile.am is not needed any more when aclocal 1.8 or newer
-      # is used.
-      if test -z "$have_automake18"; then
-        if $doit; then
-          echo "Creating $m4dir/Makefile.am"
-          echo "EXTRA_DIST =$added_m4files" > "$srcdir/$m4dir/Makefile.am"
-        else
-          echo "Create $m4dir/Makefile.am"
-        fi
-        $do_changelog && func_m4ChangeLog_add_entry "	* Makefile.am: New file."
-        added_acoutput="$added_acoutput $m4dir/Makefile"
-      else
-        missing_m4Makefileam=yes
-      fi
-    fi
-  fi
-  if test -n "$added_m4dir" && test -z "$missing_m4Makefileam"; then
-    added_directories="$added_directories $m4dir"
-  fi
-  $do_changelog && func_m4ChangeLog_finish
-  # automake will arrange for $m4dir/ChangeLog to be distributed if a
-  # $m4dir/Makefile.am exists. If not, we need to add it to Makefile.am's
-  # EXTRA_DIST explicitly.
-  if test -n "$created_m4ChangeLog" && test -n "$missing_m4Makefileam"; then
-    added_extradist="$added_extradist $m4dir/ChangeLog"
-  fi
-
-  # Update the top-level Makefile.am.
-  modified_Makefile_am=
-  # func_modify_Makefile_am changelog_comment
-  # assumes a modified copy of $srcdir/Makefile.am in $srcdir/Makefile.am.tmp
-  # and replaces the original Makefile.am file with the modified one if
-  # the two files differ. Then it removes the modified copy.
-  func_modify_Makefile_am ()
-  {
-    if cmp -s "$srcdir/Makefile.am" "$srcdir/Makefile.am.tmp"; then
-      :
-    else
-      if test -z "$modified_Makefile_am"; then
-        if $doit; then
-          echo "Updating Makefile.am (backup is in Makefile.am~)"
-          func_backup Makefile.am
-        else
-          echo "Update Makefile.am"
-        fi
-      fi
-      if $doit; then
-        rm -f "$srcdir/Makefile.am"
-        cp "$srcdir/Makefile.am.tmp" "$srcdir/Makefile.am"
-      fi
-      if $do_changelog; then
-        if test -z "$modified_Makefile_am"; then
-          func_ChangeLog_add_entry "	* Makefile.am $1"
-        else
-          func_ChangeLog_add_entry "	$1"
-        fi
-      fi
-      modified_Makefile_am=yes
-    fi
-    rm -f "$srcdir/Makefile.am.tmp"
-  }
-
-  if test -n "$added_directories"; then
-    if grep '^SUBDIRS[ 	]*=' "$srcdir/Makefile.am" > /dev/null; then
-      sed -e "s%^\(SUBDIRS[ 	]*=\) \\?%\\1$added_directories %" < "$srcdir/Makefile.am" > "$srcdir/Makefile.am.tmp"
-      added_directories_pretty=`echo $added_directories | sed -e 's/ /, /g'`
-      func_modify_Makefile_am "(SUBDIRS): Add $added_directories_pretty."
-    else
-      (cat "$srcdir/Makefile.am"; echo; echo "SUBDIRS =$added_directories") > "$srcdir/Makefile.am.tmp"
-      func_modify_Makefile_am "(SUBDIRS): New variable."
-    fi
-  fi
-  if test -n "$removed_directory"; then
-    sed -e '/^SUBDIRS[ 	]*=/ {
-        :a
-        s%\([ 	]\)'"$removed_directory"'[ 	]%\1%
-        s%[ 	]'"$removed_directory"'$%%
-        tb
-        :b
-        s%\\$%\\%
-        tc
-        bd
-        :c
-        n
-        ba
-      :d
-    }' < "$srcdir/Makefile.am" > "$srcdir/Makefile.am.tmp"
-    func_modify_Makefile_am "(SUBDIRS): Remove $removed_directory."
-  fi
-  if test -n "$added_directories"; then
-    if grep '^DIST_SUBDIRS[ 	]*=' "$srcdir/Makefile.am" > /dev/null; then
-      sed -e "s%^\(DIST_SUBDIRS[ 	]*=\) \\?%\\1$added_directories %" < "$srcdir/Makefile.am" > "$srcdir/Makefile.am.tmp"
-      added_directories_pretty=`echo $added_directories | sed -e 's/ /, /g'`
-      func_modify_Makefile_am "(DIST_SUBDIRS): Add $added_directories_pretty."
-    fi
-  fi
-  if test -n "$removed_directory"; then
-    sed -e '/^DIST_SUBDIRS[ 	]*=/ {
-        :a
-        s%\([ 	]\)'"$removed_directory"'[ 	]%\1%
-        s%[ 	]'"$removed_directory"'$%%
-        tb
-        :b
-        s%\\$%\\%
-        tc
-        bd
-        :c
-        n
-        ba
-      :d
-    }' < "$srcdir/Makefile.am" > "$srcdir/Makefile.am.tmp"
-    func_modify_Makefile_am "(DIST_SUBDIRS): Remove $removed_directory."
-  fi
-  if test -n "$m4dir_defaulted"; then
-    if grep '^ACLOCAL_AMFLAGS[ 	]*=' "$srcdir/Makefile.am" > /dev/null; then
-      sed -e "s%^\(ACLOCAL_AMFLAGS[ 	]*=\) \\?%\\1 -I $m4dir %" < "$srcdir/Makefile.am" > "$srcdir/Makefile.am.tmp"
-      func_modify_Makefile_am "(ACLOCAL_AMFLAGS): Add -I $m4dir."
-    else
-      (cat "$srcdir/Makefile.am"; echo; echo "ACLOCAL_AMFLAGS = -I $m4dir") > "$srcdir/Makefile.am.tmp"
-      func_modify_Makefile_am "(ACLOCAL_AMFLAGS): New variable."
-    fi
-    # Also update Makefile.in and, if existent, Makefile. Otherwise they
-    # would take into account the new flags only after a few rounds of
-    # "./configure", "make", "touch configure.in", "make distclean".
-    if $doit; then
-      for file in Makefile.in Makefile; do
-        if test -f "$srcdir/$file"; then
-          func_backup $file
-          rm -f "$srcdir/$file"
-          sed -e "s%(ACLOCAL)%(ACLOCAL) -I $m4dir%" < "$srcdir/$file~" > "$srcdir/$file"
-        fi
-      done
-    fi
-  fi
-  if test -n "$added_extradist"; then
-    if grep '^EXTRA_DIST[ 	]*=' "$srcdir/Makefile.am" > /dev/null; then
-      sed -e "s%^\(EXTRA_DIST[ 	]*=\)%\\1$added_extradist %" < "$srcdir/Makefile.am" > "$srcdir/Makefile.am.tmp"
-      added_extradist_pretty=`echo $added_extradist | sed -e 's/ /, /g'`
-      func_modify_Makefile_am "(EXTRA_DIST): Add $added_extradist_pretty."
-    else
-      (cat "$srcdir/Makefile.am"; echo; echo "EXTRA_DIST =$added_extradist") > "$srcdir/Makefile.am.tmp"
-      func_modify_Makefile_am "(EXTRA_DIST): New variable."
-    fi
-  fi
-  # Extract the aclocal options name from Makefile.am.
-  aclocal_options=
-  for arg in $macrodirs; do
-    aclocal_options="$aclocal_options -I $arg"
-  done
-  please="$please
-Please run 'aclocal$aclocal_options' to regenerate the aclocal.m4 file.
-You need aclocal from GNU automake $min_automake_version (or newer) to do this.
-Then run 'autoconf' to regenerate the configure file.
-"
-
-  # Also create $m4dir/Makefile.in from $m4dir/Makefile.am, because automake
-  # doesn't do it by itself.
-  if $doit; then
-    case "$added_acoutput" in
-      *" $m4dir/Makefile")
-        (cd "$srcdir" && automake "$m4dir/Makefile") 2>/dev/null ||
-        please="$please
-Please run 'automake $m4dir/Makefile' to create $m4dir/Makefile.in
-"
-        ;;
-    esac
-  fi
-else
-  please="$please
-Please add the files
-$m4filelist
-from the ${datarootdir}/aclocal directory to your aclocal.m4 file.
-"
-fi
-
-modified_configure_in=
-# func_modify_configure_in changelog_comment
-# assumes a modified copy of $srcdir/$configure_in in $srcdir/$configure_in.tmp
-# and replaces the original configure.in/ac file with the modified one if
-# the two files differ. Then it removes the modified copy.
-func_modify_configure_in ()
-{
-  if cmp -s "$srcdir/$configure_in" "$srcdir/$configure_in.tmp"; then
-    :
-  else
-    if test -z "$modified_configure_in"; then
-      if $doit; then
-        echo "Updating $configure_in (backup is in $configure_in~)"
-        func_backup $configure_in
-      else
-        echo "Update $configure_in"
-      fi
-    fi
-    if $doit; then
-      rm -f "$srcdir/$configure_in"
-      cp "$srcdir/$configure_in.tmp" "$srcdir/$configure_in"
-    fi
-    if $do_changelog; then
-      if test -z "$modified_configure_in"; then
-        func_ChangeLog_add_entry "	* $configure_in $1"
-      else
-        func_ChangeLog_add_entry "	$1"
-      fi
-    fi
-    modified_configure_in=yes
-  fi
-  rm -f "$srcdir/$configure_in.tmp"
-}
-
-if test -n "$added_acoutput"; then
-  if grep '^AC_CONFIG_FILES(' "$srcdir/$configure_in" > /dev/null; then
-    sedprog='
-ta
-b
-:a
-n
-ba'
-    sed -e "s%^\\(AC_CONFIG_FILES([^])\\,]*\\)%\\1$added_acoutput%$sedprog" < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp"
-    added_acoutput_pretty=`echo $added_acoutput | sed -e 's/ /, /g'`
-    func_modify_configure_in "(AC_CONFIG_FILES): Add $added_acoutput_pretty."
-  else
-    if grep '^AC_OUTPUT(' "$srcdir/$configure_in" > /dev/null; then
-      sed -e "s%^\\(AC_OUTPUT([^])\\,]*\\)%\\1$added_acoutput%" < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp"
-      added_acoutput_pretty=`echo $added_acoutput | sed -e 's/ /, /g'`
-      func_modify_configure_in "(AC_OUTPUT): Add $added_acoutput_pretty."
-    else
-      please="$please
-Please add$added_acoutput to the AC_OUTPUT or AC_CONFIG_FILES invocation in the $configure_in file.
-"
-    fi
-  fi
-fi
-if test -n "$removed_acoutput"; then
-  for file in $removed_acoutput; do
-    tag=
-    sedprog='{
-      s%\([[ 	]\)'"$file"'[ 	]%\1%
-      s%\([[ 	]\)'"$file"'\([]),]\)%\1\2%
-      s%[[ 	]'"$file"'$%%
-        :a
-        tb
-        :b
-        s%\\$%\\%
-        tc
-        bd
-        :c
-        n
-        s%\([ 	]\)'"$file"'[ 	]%\1%
-        s%\([ 	]\)'"$file"'\([]),]\)%\1\2%
-        s%[ 	]'"$file"'$%%
-        ba
-      :d
-    }'
-    sed -e '/^AC_CONFIG_FILES(/'"$sedprog" < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp"
-    if cmp -s "$srcdir/$configure_in" "$srcdir/$configure_in.tmp"; then
-      sed -e '/^AC_OUTPUT(/'"$sedprog" < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp"
-      if cmp -s "$srcdir/$configure_in" "$srcdir/$configure_in.tmp"; then
-        :
-      else
-        tag=AC_OUTPUT
-      fi
-    else
-      tag=AC_CONFIG_FILES
-    fi
-    if test -n "$tag"; then
-      func_modify_configure_in "($tag): Remove $file."
-    else
-      rm -f "$srcdir/$configure_in.tmp"
-      if test "$file" != intl/intlh.inst; then
-        please="$please
-Please remove $file from the AC_OUTPUT or AC_CONFIG_FILES invocation
-in the $configure_in file.
-"
-      fi
-    fi
-  done
-fi
-sed -e 's%sed -e "/POTFILES =/r po/POTFILES" po/Makefile\.in > po/Makefile *;* *%%' < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp"
-func_modify_configure_in "(AC_OUTPUT): Remove command that created po/Makefile."
-sed -e '/^\(dnl \|\)AC_LINK_FILES(\$nls_cv_header_libgt, \$nls_cv_header_intl)$/d' < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp"
-func_modify_configure_in "(AC_LINK_FILES): Remove invocation."
-# AM_GNU_GETTEXT_VERSION may not be present, when AM_GNU_GETTEXT_REQUIRE_VERSION is used.
-if grep '^AM_GNU_GETTEXT_VERSION(' "$srcdir/$configure_in" 2>&1 >/dev/null; then
-  sed -e 's/^AM_GNU_GETTEXT_VERSION([^()]*)/AM_GNU_GETTEXT_VERSION(['"$archive_version"'])/' < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp"
-  func_modify_configure_in "(AM_GNU_GETTEXT_VERSION): Bump to $archive_version."
-fi
-$do_changelog && func_ChangeLog_finish
-
-# Recommend replacement for deprecated Makefile variables.
-use_libtool=`cat "$srcdir/$configure_in" | grep '^A[CM]_PROG_LIBTOOL'`
-for file in `(cd "$srcdir"; find . -name Makefile.am -print; find . -name Makefile.in -print) | sed -e 's,^\./,,'`; do
-  if test -f "$srcdir/$file"; then
-    if test `echo "$file" | sed -e 's,^.*/,,'` = Makefile.in && grep automake "$srcdir/$file" >/dev/null 2>&1; then
-      continue;
-    fi
-    # INTLLIBS is deprecated because it doesn't distinguish the two
-    # cases: with libtool, without libtool.
-    if grep '@''INTLLIBS''@' "$srcdir/$file" >/dev/null 2>&1; then
-      if test -n "$use_libtool"; then
-        please="$please
-Please change $file to use @""LTLIBINTL""@ or @""LIBINTL""@ instead of
-@""INTLLIBS""@. Which one, depends whether it is used with libtool or not.
-@""INTLLIBS""@ will go away.
-"
-      else
-        please="$please
-Please change $file to use @""LIBINTL""@ instead of @""INTLLIBS""@.
-@""INTLLIBS""@ will go away.
-"
-      fi
-    fi
-    # DATADIRNAME is deprecated because we install only .gmo files nowadays,
-    # which can be stored in the platform independent $prefix/share hierarchy.
-    if grep '@''DATADIRNAME''@' "$srcdir/$file" >/dev/null 2>&1; then
-      please="$please
-Please change $file to use the constant string \"share\" instead of
-@""DATADIRNAME""@. @""DATADIRNAME""@ will go away.
-"
-    fi
-    # INSTOBJEXT is deprecated because we install only .gmo files nowadays,
-    # no catgets .cat catalogs.
-    if grep '@''INSTOBJEXT''@' "$srcdir/$file" >/dev/null 2>&1; then
-      please="$please
-Please change $file to use the constant string \".mo\" instead of
-@""INSTOBJEXT""@. @""INSTOBJEXT""@ will go away.
-"
-    fi
-    # GENCAT is deprecated because we install no catgets catalogs anymore.
-    if grep '@''GENCAT''@' "$srcdir/$file" >/dev/null 2>&1; then
-      please="$please
-Please change $file to use the constant string \"gencat\" instead of
-@""GENCAT""@. @""GENCAT""@ will go away. Maybe you don't even need it any more?
-"
-    fi
-    # POSUB is deprecated because it causes "./configure --disable-nls", "make",
-    # "make dist" to create a buggy tarfile.
-    if grep '@''POSUB''@' "$srcdir/$file" >/dev/null 2>&1; then
-      please="$please
-Please change $file to use the constant string \"po\" instead of
-@""POSUB""@. @""POSUB""@ will go away.
-"
-    fi
-  fi
-done
-
-# Recommend replacement for deprecated configure variables.
-if grep '\$nls_cv_header_' "$srcdir/$configure_in" >/dev/null 2>&1; then
-  please="$please
-Please stop using \$nls_cv_header_intl or \$nls_cv_header_libgt in the
-$configure_in file. Both will go away. Use <libintl.h> or \"gettext.h\" instead.
-"
-fi
-
-# Recommend fetching config.guess and config.sub.
-if test -f "$srcdir/$auxdir"config.guess && test -f "$srcdir/$auxdir"config.sub; then
-  :
-else
-  please="$please
-You will also need config.guess and config.sub, which you can get from the CVS
-of the 'config' project at http://savannah.gnu.org/. The commands to fetch them
-are
-\$ wget 'http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess'
-\$ wget 'http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub'
-"
-fi
-
-if $doit; then
-  echo "$please"
-  echo "You might also want to copy the convenience header file gettext.h"
-  echo "from the $gettext_datadir directory into your package."
-  echo "It is a wrapper around <libintl.h> that implements the configure --disable-nls"
-  echo "option."
-  echo
-  count=`echo "$please" | grep '^$' | wc -l`
-  count=`echo "$count" | sed -e 's/[ 	]//g'`
-  case "$count" in
-    1) count="paragraph";;
-    2) count="two paragraphs";;
-    3) count="three paragraphs";;
-    4) count="four paragraphs";;
-    5) count="five paragraphs";;
-    *) count="$count paragraphs";;
-  esac
-  echo "Press Return to acknowledge the previous $count."
-  # Read from /dev/tty, not stdin, so that gettextize cannot be abused by
-  # non-interactive tools.
-  read dummy < /dev/tty
-fi
-
-exit 0

TEMPAT SAMPAH
gio-querymodules.exe


TEMPAT SAMPAH
glib-compile-resources.exe


TEMPAT SAMPAH
glib-compile-schemas.exe


TEMPAT SAMPAH
glib-genmarshal.exe


+ 0 - 187
glib-gettextize

@@ -1,187 +0,0 @@
-#! /bin/sh
-#
-# Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
-#
-# 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, see <http://www.gnu.org/licenses/>.
-#
-
-# - Modified in October 2001 by jacob berkman <jacob@ximian.com> to
-# work with glib's Makefile.in.in and po2tbl.sed.in, to not copy in
-# intl/, and to not add ChangeLog entries to po/ChangeLog
-
-# This file is meant for authors or maintainers which want to
-# internationalize their package with the help of GNU gettext.  For
-# further information how to use it consult the GNU gettext manual.
-
-echo=echo
-progname=$0
-force=0
-configstatus=0
-origdir=`pwd`
-usage="\
-Usage: glib-gettextize [OPTION]... [package-dir]
-      --help           print this help and exit
-      --version        print version information and exit
-  -c, --copy           copy files instead of making symlinks
-  -f, --force          force writing of new files even if old exist
-Report bugs to http://bugzilla.gnome.org/."
-package=glib
-version=2.48.2
-try_ln_s=:
-
-# Directory where the sources are stored.
-prefix=/builds/community/qemu-stm32/sysroot-cross
-case `uname` in
-MINGW32*)
-    prefix="`dirname $0`/.."
-    ;;
-esac
-
-datarootdir=${prefix}/share
-datadir=${datarootdir}
-
-gettext_dir=$prefix/share/glib-2.0/gettext
-
-while test $# -gt 0; do
-  case "$1" in
-    -c | --copy | --c* )
-      shift
-      try_ln_s=false ;;
-    -f | --force | --f* )
-      shift
-      force=1 ;;
-    -r | --run | --r* )
-      shift
-      configstatus=1 ;;
-    --help | --h* )
-      $echo "$usage"; exit 0 ;;
-    --version | --v* )
-      echo "$progname (GNU $package) $version"
-      $echo "Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
-This is free software; see the source for copying conditions.  There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-      $echo "Written by" "Ulrich Drepper"
-      exit 0 ;;
-    -- )	# Stop option prcessing
-      shift; break ;;
-    -* )
-      $echo "glib-gettextize: unknown option $1"
-      $echo "Try \`glib-gettextize --help' for more information."; exit 1 ;;
-    * )
-      break ;;
-  esac
-done
-
-if test $# -gt 1; then
-  $echo "$usage"
-  exit 1
-fi
-
-# Fill in the command line options value.
-if test $# -eq 1; then
-  srcdir=$1
-  if cd "$srcdir"; then
-    srcdir=`pwd`
-  else
-    $echo "Cannot change directory to \`$srcdir'"
-    exit 1
-  fi
-else
-  srcdir=$origdir
-fi
-
-test -f configure.in || test -f configure.ac || {
-  $echo "Missing configure.in or configure.ac, please cd to your package first."
-  exit 1
-}
-
-configure_in=NONE
-if test -f configure.in; then
-  configure_in=configure.in
-else
-  if test -f configure.ac; then
-    configure_in=configure.ac
-  fi
-fi
-# Check in which directory config.rpath, mkinstalldirs etc. belong.
-auxdir=`cat "$configure_in" | grep '^AC_CONFIG_AUX_DIR' | sed -n -e 's/AC_CONFIG_AUX_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' | sed -e 1q`
-if test -n "$auxdir"; then
-  auxdir="$auxdir/"
-fi
-
-if test -f po/Makefile.in.in && test $force -eq 0; then
-  $echo "\
-po/Makefile.in.in exists: use option -f if you really want to delete it."
-  exit 1
-fi
-
-test -d po || {
-  $echo "Creating po/ subdirectory"
-  mkdir po || {
-    $echo "failed to create po/ subdirectory"
-    exit 1
-  }
-}
-
-# For simplicity we changed to the gettext source directory.
-cd $gettext_dir || {
-   $echo "gettext source directory '${gettext_dir}' doesn't exist"
-   exit 1
-}
-
-# Now copy all files.  Take care for the destination directories.
-for file in *; do
-  case $file in
-    intl | po)
-      ;;
-    mkinstalldirs)
-      rm -f "$srcdir/$auxdir$file"
-      ($try_ln_s && ln -s $gettext_dir/$file "$srcdir/$auxdir$file" && $echo "Symlinking file $file") 2>/dev/null ||
-      { $echo "Copying file $file"; cp $file "$srcdir/$auxdir$file"; }
-      ;;
-    *)
-      rm -f "$srcdir/$file"
-      ($try_ln_s && ln -s $gettext_dir/$file "$srcdir/$file" && $echo "Symlinking file $file") 2>/dev/null ||
-      { $echo "Copying file $file"; cp $file "$srcdir/$file"; }
-      ;;
-  esac
-done
-
-# Copy files to po/ subdirectory.
-cd po
-for file in *; do
-  rm -f "$srcdir/po/$file"
-  ($try_ln_s && ln -s $gettext_dir/po/$file "$srcdir/po/$file" && $echo "Symlinking file po/$file") 2>/dev/null ||
-  { $echo "Copying file po/$file"; cp $file "$srcdir/po/$file"; }
-done
-if test -f "$srcdir/po/cat-id-tbl.c"; then
-  $echo "Removing po/cat-id-tbl.c"
-  rm -f "$srcdir/po/cat-id-tbl.c"
-fi
-if test -f "$srcdir/po/stamp-cat-id"; then
-  $echo "Removing po/stamp-cat-id"
-  rm -f "$srcdir/po/stamp-cat-id"
-fi
-
-echo
-echo "Please add the files"
-echo "  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4"
-echo "  progtest.m4"
-echo "from the $datadir/aclocal directory to your autoconf macro directory"
-echo "or directly to your aclocal.m4 file."
-echo "You will also need config.guess and config.sub, which you can get from"
-echo "ftp://ftp.gnu.org/pub/gnu/config/."
-echo
-
-exit 0

+ 0 - 565
glib-mkenums

@@ -1,565 +0,0 @@
-#! /usr/bin/perl
-
-use warnings;
-use File::Basename;
-use Safe;
-
-# glib-mkenums.pl 
-# Information about the current enumeration
-my $flags;			# Is enumeration a bitmask?
-my $option_underscore_name;	# Overriden underscore variant of the enum name
-				# for example to fix the cases we don't get the
-				# mixed-case -> underscorized transform right.
-my $option_lowercase_name;	# DEPRECATED.  A lower case name to use as part
-				# of the *_get_type() function, instead of the
-				# one that we guess. For instance, when an enum
-				# uses abnormal capitalization and we can not
-				# guess where to put the underscores.
-my $seenbitshift;		# Have we seen bitshift operators?
-my $enum_prefix;		# Prefix for this enumeration
-my $enumname;			# Name for this enumeration
-my $enumshort;			# $enumname without prefix
-my $enumname_prefix;		# prefix of $enumname
-my $enumindex = 0;		# Global enum counter
-my $firstenum = 1;		# Is this the first enumeration per file?
-my @entries;			# [ $name, $val ] for each entry
-my $sandbox = Safe->new;        # sandbox for safe evaluation of expressions
-
-sub parse_trigraph {
-    my $opts = shift;
-    my @opts;
-
-    for $opt (split /\s*,\s*/, $opts) {
-	$opt =~ s/^\s*//;
-	$opt =~ s/\s*$//;
-        my ($key,$val) = $opt =~ /(\w+)(?:=(.+))?/;
-	defined $val or $val = 1;
-	push @opts, $key, $val;
-    }
-    @opts;
-}
-sub parse_entries {
-    my $file = shift;
-    my $file_name = shift;
-    my $looking_for_name = 0;
-    
-    while (<$file>) {
-	# read lines until we have no open comments
-	while (m@/\*([^*]|\*(?!/))*$@) {
-	    my $new;
-	    defined ($new = <$file>) || die "Unmatched comment in $ARGV";
-	    $_ .= $new;
-	}
-	# strip comments w/o options
-	s@/\*(?!<)
-	    ([^*]+|\*(?!/))*
-	   \*/@@gx;
-	
-	# strip newlines
-	s@\n@ @;
-	
-	# skip empty lines
-	next if m@^\s*$@;
-	
-	if ($looking_for_name) {
-	    if (/^\s*(\w+)/) {
-		$enumname = $1;
-		return 1;
-	    }
-	}
-	
-	# Handle include files
-	if (/^\#include\s*<([^>]*)>/ ) {
-            my $file= "../$1";
-	    open NEWFILE, $file or die "Cannot open include file $file: $!\n";
-	    
-	    if (parse_entries (\*NEWFILE, $NEWFILE)) {
-		return 1;
-	    } else {
-		next;
-	    }
-	}
-	
-	if (/^\s*\}\s*(\w+)/) {
-	    $enumname = $1;
-	    $enumindex++;
-	    return 1;
-	}
-	
-	if (/^\s*\}/) {
-	    $enumindex++;
-	    $looking_for_name = 1;
-	    next;
-	}
-
-        if (m@^\s*
-              (\w+)\s*                   # name
-              (?:=(                      # value
-		   \s*\w+\s*\(.*\)\s*       # macro with multiple args
-		   |                        # OR
-                   (?:[^,/]|/(?!\*))*       # anything but a comma or comment
-                  ))?,?\s*
-              (?:/\*<                    # options
-                (([^*]|\*(?!/))*)
-               >\s*\*/)?,?
-              \s*$
-             @x) {
-            my ($name, $value, $options) = ($1,$2,$3);
-
-	    if (!defined $flags && defined $value && $value =~ /<</) {
-		$seenbitshift = 1;
-	    }
-
-	    if (defined $options) {
-		my %options = parse_trigraph($options);
-		if (!defined $options{skip}) {
-		    push @entries, [ $name, $value, $options{nick} ];
-		}
-	    } else {
-		push @entries, [ $name, $value ];
-	    }
-	} elsif (m@^\s*\#@) {
-	    # ignore preprocessor directives
-	} else {
-	    print STDERR "$0: $file_name:$.: Failed to parse `$_'\n";
-	}
-    }
-
-    return 0;
-}
-
-sub version {
-    print "glib-mkenums version glib-2.48.2\n";
-    print "glib-mkenums comes with ABSOLUTELY NO WARRANTY.\n";
-    print "You may redistribute copies of glib-mkenums under the terms of\n";
-    print "the GNU General Public License which can be found in the\n";
-    print "GLib source package. Sources, examples and contact\n";
-    print "information are available at http://www.gtk.org\n";
-    exit 0;
-}
-sub usage {
-    print "Usage:\n";
-    print "  glib-mkenums [OPTION...] [FILES...]\n\n";
-    print "Help Options:\n";
-    print "  -h, --help            Show this help message\n\n";
-    print "Utility Options:\n";
-    print "  --identifier-prefix <text>   Identifier prefix\n";
-    print "  --symbol-prefix <text>       Symbol prefix\n";
-    print "  --fhead <text>               Output file header\n";
-    print "  --fprod <text>               Per input file production\n";
-    print "  --ftail <text>               Output file trailer\n";
-    print "  --eprod <text>               Per enum text (produced prior to value iterations)\n";
-    print "  --vhead <text>               Value header, produced before iterating over enum values\n";
-    print "  --vprod <text>               Value text, produced for each enum value\n";
-    print "  --vtail <text>               Value tail, produced after iterating over enum values\n";
-    print "  --comments <text>            Comment structure\n";
-    print "  --template file              Template file\n";
-    print "  -v, --version                Print version informations\n\n";
-    print "Production text substitutions:\n";
-    print "  \@EnumName\@            PrefixTheXEnum\n";
-    print "  \@enum_name\@           prefix_the_xenum\n";
-    print "  \@ENUMNAME\@            PREFIX_THE_XENUM\n";
-    print "  \@ENUMSHORT\@           THE_XENUM\n";
-    print "  \@ENUMPREFIX\@          PREFIX\n";
-    print "  \@VALUENAME\@           PREFIX_THE_XVALUE\n";
-    print "  \@valuenick\@           the-xvalue\n";
-    print "  \@valuenum\@            the integer value (limited support, Since: 2.26)\n";
-    print "  \@type\@                either enum or flags\n";
-    print "  \@Type\@                either Enum or Flags\n";
-    print "  \@TYPE\@                either ENUM or FLAGS\n";
-    print "  \@filename\@            name of current input file\n";
-    print "  \@basename\@            base name of the current input file (Since: 2.22)\n";
-    exit 0;
-}
-
-# production variables:
-my $idprefix = "";    # "G", "Gtk", etc
-my $symprefix = "";   # "g", "gtk", etc, if not just lc($idprefix)
-my $fhead = "";   # output file header
-my $fprod = "";   # per input file production
-my $ftail = "";   # output file trailer
-my $eprod = "";   # per enum text (produced prior to value itarations)
-my $vhead = "";   # value header, produced before iterating over enum values
-my $vprod = "";   # value text, produced for each enum value
-my $vtail = "";   # value tail, produced after iterating over enum values
-my $comment_tmpl = "";   # comment template
-
-sub read_template_file {
-  my ($file) = @_;
-  my %tmpl = ('file-header', $fhead, 
-	      'file-production', $fprod, 
-	      'file-tail', $ftail, 
-	      'enumeration-production', $eprod,
-	      'value-header', $vhead,
-	      'value-production', $vprod,
-	      'value-tail', $vtail,
-	      'comment', $comment_tmpl);
-  my $in = 'junk';
-  open (FILE, $file) || die "Can't open $file: $!\n";
-  while (<FILE>) {
-    if (/^\/\*\*\*\s+(BEGIN|END)\s+([\w-]+)\s+\*\*\*\//) {
-      if (($in eq 'junk') && ($1 eq 'BEGIN') && (exists($tmpl{$2}))) {
-	$in = $2;
-	next;
-      }
-      elsif (($in eq $2) && ($1 eq 'END') && (exists($tmpl{$2}))) {
-	$in = 'junk';
-	next;
-      } else {
-	  die "Malformed template file $file\n";
-      }
-    }
-    if (!($in eq 'junk')) {
-	$tmpl{$in} .= $_;
-    }
-  }
-  close (FILE);
-  if (!($in eq 'junk')) {
-      die "Malformed template file $file\n";
-  }
-  $fhead = $tmpl{'file-header'};
-  $fprod = $tmpl{'file-production'};
-  $ftail = $tmpl{'file-tail'};
-  $eprod = $tmpl{'enumeration-production'};
-  $vhead = $tmpl{'value-header'};
-  $vprod = $tmpl{'value-production'};
-  $vtail = $tmpl{'value-tail'};
-  $comment_tmpl = $tmpl{'comment'};
-
-  # default to C-style comments
-  $comment_tmpl = "/* \@comment\@ */" if $comment_tmpl eq "";
-}
-
-if (!defined $ARGV[0]) {
-    usage;
-}
-while ($_=$ARGV[0],/^-/) {
-    shift;
-    last if /^--$/;
-    if (/^--template$/)                      { read_template_file (shift); }
-    elsif (/^--identifier-prefix$/)          { $idprefix = shift }
-    elsif (/^--symbol-prefix$/)              { $symprefix = shift }
-    elsif (/^--fhead$/)                      { $fhead = $fhead . shift }
-    elsif (/^--fprod$/)                      { $fprod = $fprod . shift }
-    elsif (/^--ftail$/)                      { $ftail = $ftail . shift }
-    elsif (/^--eprod$/)                      { $eprod = $eprod . shift }
-    elsif (/^--vhead$/)                      { $vhead = $vhead . shift }
-    elsif (/^--vprod$/)                      { $vprod = $vprod . shift }
-    elsif (/^--vtail$/)                      { $vtail = $vtail . shift }
-    elsif (/^--comments$/)                   { $comment_tmpl = shift }
-    elsif (/^--help$/ || /^-h$/ || /^-\?$/)  { usage; }
-    elsif (/^--version$/ || /^-v$/)          { version; }
-    else { usage; }
-    last if not defined($ARGV[0]);
-}
-
-# put auto-generation comment
-{
-    my $comment = $comment_tmpl;
-    $comment =~ s/\@comment\@/Generated data (by glib-mkenums)/;
-    print "\n" . $comment . "\n\n";
-}
-
-if (length($fhead)) {
-    my $prod = $fhead;
-    my $base = basename ($ARGV[0]);
-
-    $prod =~ s/\@filename\@/$ARGV[0]/g;
-    $prod =~ s/\@basename\@/$base/g;
-    $prod =~ s/\\a/\a/g; $prod =~ s/\\b/\b/g; $prod =~ s/\\t/\t/g; $prod =~ s/\\n/\n/g;
-    $prod =~ s/\\f/\f/g; $prod =~ s/\\r/\r/g;
-    chomp ($prod);
-		
-    print "$prod\n";
-}
-
-while (<>) {
-    if (eof) {
-	close (ARGV);		# reset line numbering
-	$firstenum = 1;		# Flag to print filename at next enum
-    }
-
-    # read lines until we have no open comments
-    while (m@/\*([^*]|\*(?!/))*$@) {
-	my $new;
-	defined ($new = <>) || die "Unmatched comment in $ARGV";
-	$_ .= $new;
-    }
-    # strip comments w/o options
-    s@/\*(?!<)
-       ([^*]+|\*(?!/))*
-       \*/@@gx;
-	
-    # ignore forward declarations
-    next if /^\s*typedef\s+enum.*;/;
-
-    if (m@^\s*typedef\s+enum\s*
-           ({)?\s*
-           (?:/\*<
-             (([^*]|\*(?!/))*)
-            >\s*\*/)?
-           \s*({)?
-         @x) {
-	if (defined $2) {
-	    my %options = parse_trigraph ($2);
-	    next if defined $options{skip};
-	    $enum_prefix = $options{prefix};
-	    $flags = $options{flags};
-	    $option_lowercase_name = $options{lowercase_name};
-	    $option_underscore_name = $options{underscore_name};
-	} else {
-	    $enum_prefix = undef;
-	    $flags = undef;
-	    $option_lowercase_name = undef;
-	    $option_underscore_name = undef;
-	}
-	if (defined $option_lowercase_name) {
-	    if (defined $option_underscore_name) {
-		print STDERR "$0: $ARGV:$.: lowercase_name overriden with underscore_name\n";
-		$option_lowercase_name = undef;
-	    } else {
-		print STDERR "$0: $ARGV:$.: lowercase_name is deprecated, use underscore_name\n";
-	    }
-	}
-	# Didn't have trailing '{' look on next lines
-	if (!defined $1 && !defined $4) {
-	    while (<>) {
-		if (eof) {
-		    die "Hit end of file while parsing enum in $ARGV";
-		}
-		if (s/^\s*\{//) {
-		    last;
-		}
-	    }
-	}
-
-	$seenbitshift = 0;
-	@entries = ();
-
-	# Now parse the entries
-	parse_entries (\*ARGV, $ARGV);
-
-	# figure out if this was a flags or enums enumeration
-	if (!defined $flags) {
-	    $flags = $seenbitshift;
-	}
-
-	# Autogenerate a prefix
-	if (!defined $enum_prefix) {
-	    for (@entries) {
-		my $nick = $_->[2];
-		if (!defined $nick) {
-		    my $name = $_->[0];
-		    if (defined $enum_prefix) {
-			my $tmp = ~ ($name ^ $enum_prefix);
-			($tmp) = $tmp =~ /(^\xff*)/;
-			$enum_prefix = $enum_prefix & $tmp;
-		    } else {
-			$enum_prefix = $name;
-		    }
-		}
-	    }
-	    if (!defined $enum_prefix) {
-		$enum_prefix = "";
-	    } else {
-		# Trim so that it ends in an underscore
-		$enum_prefix =~ s/_[^_]*$/_/;
-	    }
-	} else {
-	    # canonicalize user defined prefixes
-	    $enum_prefix = uc($enum_prefix);
-	    $enum_prefix =~ s/-/_/g;
-	    $enum_prefix =~ s/(.*)([^_])$/$1$2_/;
-	}
-	
-	for $entry (@entries) {
-	    my ($name,$num,$nick) = @{$entry};
-            if (!defined $nick) {
- 	        ($nick = $name) =~ s/^$enum_prefix//;
-	        $nick =~ tr/_/-/;
-	        $nick = lc($nick);
-	        @{$entry} = ($name, $num, $nick);
-            }
-	}
-	
-
-	# Spit out the output
-	if (defined $option_underscore_name) {
-	    $enumlong = uc $option_underscore_name;
-	    $enumsym = lc $option_underscore_name;
-	    $enumshort = $enumlong;
-	    $enumshort =~ s/^[A-Z][A-Z0-9]*_//;
-
-	    $enumname_prefix = $enumlong;
-	    $enumname_prefix =~ s/_$enumshort$//;
-	} elsif (!$symprefix && !$idprefix) {
-	    # enumname is e.g. GMatchType
-	    $enspace = $enumname;
-	    $enspace =~ s/^([A-Z][a-z]*).*$/$1/;
-
-	    $enumshort = $enumname;
-	    $enumshort =~ s/^[A-Z][a-z]*//;
-	    $enumshort =~ s/([^A-Z])([A-Z])/$1_$2/g;
-	    $enumshort =~ s/([A-Z][A-Z])([A-Z][0-9a-z])/$1_$2/g;
-	    $enumshort = uc($enumshort);
-
-	    $enumname_prefix = $enumname;
-	    $enumname_prefix =~ s/^([A-Z][a-z]*).*$/$1/;
-	    $enumname_prefix = uc($enumname_prefix);
-
-	    $enumlong = uc($enspace) . "_" . $enumshort;
-	    $enumsym = lc($enspace) . "_" . lc($enumshort);
-
-	    if (defined($option_lowercase_name)) {
-		$enumsym = $option_lowercase_name;
-	    }
-	} else {
-	    $enumshort = $enumname;
-	    if ($idprefix) {
-		$enumshort =~ s/^${idprefix}//;
-	    } else {
-		$enumshort =~ s/^[A-Z][a-z]*//;
-	    }
-	    $enumshort =~ s/([^A-Z])([A-Z])/$1_$2/g;
-	    $enumshort =~ s/([A-Z][A-Z])([A-Z][0-9a-z])/$1_$2/g;
-	    $enumshort = uc($enumshort);
-
-	    $enumname_prefix = $symprefix && uc($symprefix) || uc($idprefix);
-
-	    $enumlong = $enumname_prefix . "_" . $enumshort;
-	    $enumsym = lc($enumlong);
-	}
-
-	if ($firstenum) {
-	    $firstenum = 0;
-	    
-	    if (length($fprod)) {
-		my $prod = $fprod;
-		my $base = basename ($ARGV);
-
-		$prod =~ s/\@filename\@/$ARGV/g;
-		$prod =~ s/\@basename\@/$base/g;
-		$prod =~ s/\\a/\a/g; $prod =~ s/\\b/\b/g; $prod =~ s/\\t/\t/g; $prod =~ s/\\n/\n/g;
-		$prod =~ s/\\f/\f/g; $prod =~ s/\\r/\r/g;
-	        chomp ($prod);
-		
-		print "$prod\n";
-	    }
-	}
-	
-	if (length($eprod)) {
-	    my $prod = $eprod;
-
-	    $prod =~ s/\@enum_name\@/$enumsym/g;
-	    $prod =~ s/\@EnumName\@/$enumname/g;
-	    $prod =~ s/\@ENUMSHORT\@/$enumshort/g;
-	    $prod =~ s/\@ENUMNAME\@/$enumlong/g;
-	    $prod =~ s/\@ENUMPREFIX\@/$enumname_prefix/g;
-	    if ($flags) { $prod =~ s/\@type\@/flags/g; } else { $prod =~ s/\@type\@/enum/g; }
-	    if ($flags) { $prod =~ s/\@Type\@/Flags/g; } else { $prod =~ s/\@Type\@/Enum/g; }
-	    if ($flags) { $prod =~ s/\@TYPE\@/FLAGS/g; } else { $prod =~ s/\@TYPE\@/ENUM/g; }
-	    $prod =~ s/\\a/\a/g; $prod =~ s/\\b/\b/g; $prod =~ s/\\t/\t/g; $prod =~ s/\\n/\n/g;
-	    $prod =~ s/\\f/\f/g; $prod =~ s/\\r/\r/g;
-            chomp ($prod);
-
-	    print "$prod\n";
-	}
-
-	if (length($vhead)) {
-	    my $prod = $vhead;
-
-	    $prod =~ s/\@enum_name\@/$enumsym/g;
-            $prod =~ s/\@EnumName\@/$enumname/g;
-            $prod =~ s/\@ENUMSHORT\@/$enumshort/g;
-            $prod =~ s/\@ENUMNAME\@/$enumlong/g;
-	    $prod =~ s/\@ENUMPREFIX\@/$enumname_prefix/g;
-	    if ($flags) { $prod =~ s/\@type\@/flags/g; } else { $prod =~ s/\@type\@/enum/g; }
-	    if ($flags) { $prod =~ s/\@Type\@/Flags/g; } else { $prod =~ s/\@Type\@/Enum/g; }
-	    if ($flags) { $prod =~ s/\@TYPE\@/FLAGS/g; } else { $prod =~ s/\@TYPE\@/ENUM/g; }
-            $prod =~ s/\\a/\a/g; $prod =~ s/\\b/\b/g; $prod =~ s/\\t/\t/g; $prod =~ s/\\n/\n/g;
-            $prod =~ s/\\f/\f/g; $prod =~ s/\\r/\r/g;
-            chomp ($prod);
-	    
-            print "$prod\n";
-	}
-
-	if (length($vprod)) {
-	    my $prod = $vprod;
-            my $next_num = 0;
-	    
-	    $prod =~ s/\\a/\a/g; $prod =~ s/\\b/\b/g; $prod =~ s/\\t/\t/g; $prod =~ s/\\n/\n/g;
-	    $prod =~ s/\\f/\f/g; $prod =~ s/\\r/\r/g;
-	    for (@entries) {
-		my ($name,$num,$nick) = @{$_};
-		my $tmp_prod = $prod;
-
-                if ($prod =~ /\@valuenum\@/) {
-                    # only attempt to eval the value if it is requested
-                    # this prevents us from throwing errors otherwise
-                    if (defined $num) {
-                        # use sandboxed perl evaluation as a reasonable
-                        # approximation to C constant folding
-                        $num = $sandbox->reval ($num);
-
-                        # make sure it parsed to an integer
-                        if (!defined $num or $num !~ /^-?\d+$/) {
-                            die "Unable to parse enum value '$num'";
-                        }
-                    } else {
-                        $num = $next_num;
-                    }
-
-                    $tmp_prod =~ s/\@valuenum\@/$num/g;
-                    $next_num = $num + 1;
-                }
-
-		$tmp_prod =~ s/\@VALUENAME\@/$name/g;
-		$tmp_prod =~ s/\@valuenick\@/$nick/g;
-		if ($flags) { $tmp_prod =~ s/\@type\@/flags/g; } else { $tmp_prod =~ s/\@type\@/enum/g; }
-		if ($flags) { $tmp_prod =~ s/\@Type\@/Flags/g; } else { $tmp_prod =~ s/\@Type\@/Enum/g; }
-		if ($flags) { $tmp_prod =~ s/\@TYPE\@/FLAGS/g; } else { $tmp_prod =~ s/\@TYPE\@/ENUM/g; }
-		chomp ($tmp_prod);
-
-		print "$tmp_prod\n";
-	    }
-	}
-
-	if (length($vtail)) {
-	    my $prod = $vtail;
-
-	    $prod =~ s/\@enum_name\@/$enumsym/g;
-            $prod =~ s/\@EnumName\@/$enumname/g;
-            $prod =~ s/\@ENUMSHORT\@/$enumshort/g;
-            $prod =~ s/\@ENUMNAME\@/$enumlong/g;
-	    $prod =~ s/\@ENUMPREFIX\@/$enumname_prefix/g;
-	    if ($flags) { $prod =~ s/\@type\@/flags/g; } else { $prod =~ s/\@type\@/enum/g; }
-	    if ($flags) { $prod =~ s/\@Type\@/Flags/g; } else { $prod =~ s/\@Type\@/Enum/g; }
-	    if ($flags) { $prod =~ s/\@TYPE\@/FLAGS/g; } else { $prod =~ s/\@TYPE\@/ENUM/g; }
-            $prod =~ s/\\a/\a/g; $prod =~ s/\\b/\b/g; $prod =~ s/\\t/\t/g; $prod =~ s/\\n/\n/g;
-            $prod =~ s/\\f/\f/g; $prod =~ s/\\r/\r/g;
-            chomp ($prod);
-	    
-            print "$prod\n";
-	}
-    }
-}
-
-if (length($ftail)) {
-    my $prod = $ftail;
-    my $base = basename ($ARGV);
-
-    $prod =~ s/\@filename\@/$ARGV/g;
-    $prod =~ s/\@basename\@/$base/g;
-    $prod =~ s/\\a/\a/g; $prod =~ s/\\b/\b/g; $prod =~ s/\\t/\t/g; $prod =~ s/\\n/\n/g;
-    $prod =~ s/\\f/\f/g; $prod =~ s/\\r/\r/g;
-    chomp ($prod);
-		
-    print "$prod\n";
-}
-
-# put auto-generation comment
-{
-    my $comment = $comment_tmpl;
-    $comment =~ s/\@comment\@/Generated data ends here/;
-    print "\n" . $comment . "\n\n";
-}

TEMPAT SAMPAH
gobject-query.exe


TEMPAT SAMPAH
gresource.exe


TEMPAT SAMPAH
gsettings.exe


TEMPAT SAMPAH
gspawn-win32-helper-console.exe


TEMPAT SAMPAH
gspawn-win32-helper.exe


TEMPAT SAMPAH
iconv.exe


TEMPAT SAMPAH
libasprintf-0.dll


TEMPAT SAMPAH
libcharset-1.dll


TEMPAT SAMPAH
libconfuse-2.dll


TEMPAT SAMPAH
libffi-8.dll


TEMPAT SAMPAH
libgcc_s_sjlj-1.dll


TEMPAT SAMPAH
libgettextlib-0-19-8.dll


TEMPAT SAMPAH
libgettextpo-1.dll


TEMPAT SAMPAH
libgettextsrc-0-19-8.dll


TEMPAT SAMPAH
libglib-2.0-0.dll


TEMPAT SAMPAH
libgmodule-2.0-0.dll


TEMPAT SAMPAH
libgobject-2.0-0.dll


TEMPAT SAMPAH
libgomp-1.dll


TEMPAT SAMPAH
libgthread-2.0-0.dll


TEMPAT SAMPAH
libiconv-2.dll


TEMPAT SAMPAH
libintl-9.dll


TEMPAT SAMPAH
libpixman-1-0.dll


+ 0 - 1
libpng-config

@@ -1 +0,0 @@
-libpng12-config

+ 0 - 127
libpng12-config

@@ -1,127 +0,0 @@
-#! /bin/sh
-
-# libpng-config
-# provides configuration info for libpng.
-
-# Copyright (C) 2002, 2004, 2006, 2007 Glenn Randers-Pehrson
-
-# This code is released under the libpng license.
-# For conditions of distribution and use, see the disclaimer
-# and license in png.h
-
-# Modeled after libxml-config.
-
-version="1.2.59"
-prefix="/builds/community/qemu-stm32/sysroot-cross"
-exec_prefix="${prefix}"
-libdir="${exec_prefix}/lib"
-includedir="${prefix}/include/libpng12"
-libs="-lpng12"
-all_libs="-lpng12 -lz "
-I_opts="-I${includedir}"
-L_opts="-L${libdir}"
-R_opts=""
-cppflags=""
-ccopts=""
-ldopts=""
-
-usage()
-{
-    cat <<EOF
-Usage: $0 [OPTION] ...
-
-Known values for OPTION are:
-
-  --prefix        print libpng prefix
-  --libdir        print path to directory containing library
-  --libs          print library linking information
-  --ccopts        print compiler options
-  --cppflags      print pre-processor flags
-  --cflags        print preprocessor flags, I_opts, and compiler options
-  --I_opts        print "-I" include options
-  --L_opts        print linker "-L" flags for dynamic linking
-  --R_opts        print dynamic linker "-R" or "-rpath" flags
-  --ldopts        print linker options
-  --ldflags       print linker flags (ldopts, L_opts, R_opts, and libs)
-  --static        revise subsequent outputs for static linking
-  --help          print this help and exit
-  --version       print version information
-EOF
-
-    exit $1
-}
-
-if test $# -eq 0; then
-    usage 1
-fi
-
-while test $# -gt 0; do
-    case "$1" in
-
-    --prefix)
-        echo ${prefix}
-        ;;
-
-    --version)
-        echo ${version}
-        exit 0
-        ;;
-
-    --help)
-        usage 0
-        ;;
-
-    --ccopts)
-        echo ${ccopts}
-        ;;
-
-    --cppflags)
-        echo ${cppflags}
-        ;;
-
-    --cflags)
-        echo ${I_opts} ${cppflags} ${ccopts}
-        ;;
-
-    --libdir)
-        echo ${libdir}
-        ;;
-
-    --libs)
-        echo ${libs}
-        ;;
-
-    --I_opts)
-        echo ${I_opts}
-        ;;
-
-    --L_opts)
-        echo ${L_opts}
-        ;;
-
-    --R_opts)
-        echo ${R_opts}
-        ;;
-
-    --ldopts)
-    	echo ${ldopts}
-	;;
-
-    --ldflags)
-        echo ${ldopts} ${L_opts} ${R_opts} ${libs}
-        ;;
-
-    --static)
-        R_opts=""
-	libs=${all_libs}
-        ;;
-
-    *)
-        usage
-        exit 1
-        ;;
-    esac
-    shift
-done
-
-exit 0

TEMPAT SAMPAH
libquadmath-0.dll


TEMPAT SAMPAH
libssp-0.dll


TEMPAT SAMPAH
libstdc++-6.dll


TEMPAT SAMPAH
libwinpthread-1.dll


TEMPAT SAMPAH
msgattrib.exe


TEMPAT SAMPAH
msgcat.exe


TEMPAT SAMPAH
msgcmp.exe


TEMPAT SAMPAH
msgcomm.exe


TEMPAT SAMPAH
msgconv.exe


TEMPAT SAMPAH
msgen.exe


TEMPAT SAMPAH
msgexec.exe


TEMPAT SAMPAH
msgfilter.exe


TEMPAT SAMPAH
msgfmt.exe


TEMPAT SAMPAH
msggrep.exe


TEMPAT SAMPAH
msginit.exe


TEMPAT SAMPAH
msgmerge.exe


TEMPAT SAMPAH
msgunfmt.exe


TEMPAT SAMPAH
msguniq.exe


TEMPAT SAMPAH
ngettext.exe


TEMPAT SAMPAH
qemu-edid.exe


TEMPAT SAMPAH
qemu-ga.exe


TEMPAT SAMPAH
qemu-img.exe


TEMPAT SAMPAH
qemu-io.exe


TEMPAT SAMPAH
qemu-system-arm.exe


TEMPAT SAMPAH
qemu-system-armw.exe


TEMPAT SAMPAH
recode-sr-latin.exe


+ 0 - 60
sdl2-config

@@ -1,60 +0,0 @@
-#!/bin/sh
-
-prefix=/builds/community/qemu-stm32/sysroot-cross
-exec_prefix=${prefix}
-exec_prefix_set=no
-libdir=${exec_prefix}/lib
-
-usage="\
-Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
-#usage="\
-#Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs]"
-
-if test $# -eq 0; then
-      echo "${usage}" 1>&2
-      exit 1
-fi
-
-while test $# -gt 0; do
-  case "$1" in
-  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
-  *) optarg= ;;
-  esac
-
-  case $1 in
-    --prefix=*)
-      prefix=$optarg
-      if test $exec_prefix_set = no ; then
-        exec_prefix=$optarg
-      fi
-      ;;
-    --prefix)
-      echo $prefix
-      ;;
-    --exec-prefix=*)
-      exec_prefix=$optarg
-      exec_prefix_set=yes
-      ;;
-    --exec-prefix)
-      echo $exec_prefix
-      ;;
-    --version)
-      echo 2.0.12
-      ;;
-    --cflags)
-      echo -I${prefix}/include/SDL2  -Dmain=SDL_main
-      ;;
-    --libs)
-      echo -L${exec_prefix}/lib  -lmingw32 -lSDL2main -lSDL2 -mwindows
-      ;;
-#    --static-libs)
-##    --libs|--static-libs)
-#      echo -L${exec_prefix}/lib  -lmingw32 -lSDL2main -lSDL2 -mwindows  -Wl,--no-undefined -Wl,--dynamicbase -Wl,--nxcompat -lm -ldinput8 -ldxguid -ldxerr8 -luser32 -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lshell32 -lsetupapi -lversion -luuid -static-libgcc
-#      ;;
-    *)
-      echo "${usage}" 1>&2
-      exit 1
-      ;;
-  esac
-  shift
-done

TEMPAT SAMPAH
xgettext.exe