~ubuntu-branches/ubuntu/hoary/groundhog/hoary

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Stephen M Moraco
  • Date: 2002-01-29 19:11:33 UTC
  • Revision ID: james.westby@ubuntu.com-20020129191133-4be29x74rsfo3arr
Tags: 1.3.2-3
Remove vesigal aclocal call (Closes: Bug#131421)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl aclocal.m4 generated automatically by aclocal 1.4-p1
 
1
dnl aclocal.m4 generated automatically by aclocal 1.4-p4
2
2
 
3
3
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4
4
dnl This file is free software; the Free Software Foundation
129
129
# Ulrich Drepper <drepper@cygnus.com>, 1995.
130
130
#
131
131
# This file can be copied and used freely without restrictions.  It can
132
 
# be used in projects which are not available under the GNU Public License
133
 
# but which still want to provide support for the GNU gettext functionality.
134
 
# Please note that the actual code is *not* freely available.
 
132
# be used in projects which are not available under the GNU General Public
 
133
# License or the GNU Library General Public License but which still want
 
134
# to provide support for the GNU gettext functionality.
 
135
# Please note that the actual code of the GNU gettext library is covered
 
136
# by the GNU Library General Public License, and the rest of the GNU
 
137
# gettext package package is covered by the GNU General Public License.
 
138
# They are *not* in the public domain.
135
139
 
136
 
# serial 9
 
140
# serial 10
137
141
 
138
142
dnl Usage: AM_WITH_NLS([TOOLSYMBOL], [NEEDSYMBOL], [LIBDIR]).
139
143
dnl If TOOLSYMBOL is specified and is 'use-libtool', then a libtool library
244
248
             AC_CHECK_FUNCS(dcgettext)
245
249
             LIBS="$gt_save_LIBS"
246
250
 
 
251
             dnl Search for GNU msgfmt in the PATH.
247
252
             AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
248
 
               [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
249
 
             if test "$MSGFMT" != "no"; then
250
 
               AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
251
 
             fi
 
253
               [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
 
254
             AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
252
255
 
 
256
             dnl Search for GNU xgettext in the PATH.
253
257
             AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
254
 
               [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
 
258
               [$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
255
259
 
256
260
             CATOBJEXT=.gmo
257
261
           fi
268
272
        dnl Mark actions used to generate GNU NLS library.
269
273
        INTLOBJS="\$(GETTOBJS)"
270
274
        AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
271
 
          [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt)
 
275
          [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
272
276
        AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
273
277
        AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
274
 
          [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
 
278
          [$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
275
279
        AC_SUBST(MSGFMT)
276
280
        BUILD_INCLUDED_LIBINTL=yes
277
281
        USE_INCLUDED_LIBINTL=yes
280
284
        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
281
285
      fi
282
286
 
 
287
      dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
 
288
      dnl Test whether we really found GNU msgfmt.
 
289
      if test "$GMSGFMT" != ":"; then
 
290
        dnl If it is no GNU msgfmt we define it as : so that the
 
291
        dnl Makefiles still can work.
 
292
        if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
 
293
          : ;
 
294
        else
 
295
          AC_MSG_RESULT(
 
296
            [found msgfmt program is not GNU msgfmt; ignore it])
 
297
          GMSGFMT=":"
 
298
        fi
 
299
      fi
 
300
 
 
301
      dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
283
302
      dnl Test whether we really found GNU xgettext.
284
303
      if test "$XGETTEXT" != ":"; then
285
304
        dnl If it is no GNU xgettext we define it as : so that the
286
305
        dnl Makefiles still can work.
287
 
        if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
306
        if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
288
307
          : ;
289
308
        else
290
309
          AC_MSG_RESULT(
308
327
          ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
309
328
          ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
310
329
          ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
330
          # In autoconf-2.13 it is called $ac_given_srcdir.
 
331
          # In autoconf-2.50 it is called $srcdir.
 
332
          test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
311
333
          case "$ac_given_srcdir" in
312
334
            .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
313
335
            /*) top_srcdir="$ac_given_srcdir" ;;
315
337
          esac
316
338
          if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
317
339
            rm -f "$ac_dir/POTFILES"
318
 
            echo creating "$ac_dir/POTFILES"
 
340
            test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
319
341
            sed -e "/^#/d" -e "/^[      ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
320
 
            echo creating "$ac_dir/Makefile"
 
342
            test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
321
343
            sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
322
344
          fi
323
345
          ;;
348
370
      dnl Found it, now check the version.
349
371
      AC_MSG_CHECKING([version of bison])
350
372
changequote(<<,>>)dnl
351
 
      ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
 
373
      ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
352
374
      case $ac_prog_version in
353
375
        '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
354
376
        1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
478
500
# Ulrich Drepper <drepper@cygnus.com>, 1996.
479
501
#
480
502
# This file can be copied and used freely without restrictions.  It can
481
 
# be used in projects which are not available under the GNU Public License
482
 
# but which still want to provide support for the GNU gettext functionality.
483
 
# Please note that the actual code is *not* freely available.
 
503
# be used in projects which are not available under the GNU General Public
 
504
# License or the GNU Library General Public License but which still want
 
505
# to provide support for the GNU gettext functionality.
 
506
# Please note that the actual code of the GNU gettext library is covered
 
507
# by the GNU Library General Public License, and the rest of the GNU
 
508
# gettext package package is covered by the GNU General Public License.
 
509
# They are *not* in the public domain.
484
510
 
485
 
# serial 1
 
511
# serial 2
486
512
 
487
513
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
488
514
dnl   TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
514
540
  ;;
515
541
esac])dnl
516
542
$1="$ac_cv_path_$1"
517
 
if test -n "[$]$1"; then
 
543
if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
518
544
  AC_MSG_RESULT([$]$1)
519
545
else
520
546
  AC_MSG_RESULT(no)
659
685
# Ulrich Drepper <drepper@cygnus.com>, 1995.
660
686
#
661
687
# This file can be copied and used freely without restrictions.  It can
662
 
# be used in projects which are not available under the GNU Public License
663
 
# but which still want to provide support for the GNU gettext functionality.
664
 
# Please note that the actual code is *not* freely available.
 
688
# be used in projects which are not available under the GNU General Public
 
689
# License or the GNU Library General Public License but which still want
 
690
# to provide support for the GNU gettext functionality.
 
691
# Please note that the actual code of the GNU gettext library is covered
 
692
# by the GNU Library General Public License, and the rest of the GNU
 
693
# gettext package package is covered by the GNU General Public License.
 
694
# They are *not* in the public domain.
665
695
 
666
696
# serial 2
667
697