aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-02-27 14:19:06 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-02-27 14:19:06 +0000
commit0576318c1ccf95c98ff5bb3eba5a2af836a54d35 (patch)
tree2255c0507ba4be2390b730a71458eb6028a32a52 /configure.ac
parentb0298c2b68308f9a68e0c0efedaf53413a225263 (diff)
downloadcpio-0576318c1ccf95c98ff5bb3eba5a2af836a54d35.tar.gz
cpio-0576318c1ccf95c98ff5bb3eba5a2af836a54d35.tar.bz2
Updated
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac18
1 files changed, 14 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 57bff6f..6aaa94a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
dnl This file is part of GNU cpio
-dnl Copyright (C) 2003 Free Software Foundation, Inc.
+dnl Copyright (C) 2003, 2004 Free Software Foundation, Inc.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
@@ -17,7 +17,8 @@ dnl with this program; if not, write to the Free Software Foundation, Inc.,
dnl 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
AC_INIT([GNU cpio], [2.5.90], [bug-cpio@gnu.org], [cpio])
-AC_CONFIG_SRCDIR(cpio.h)
+AC_CONFIG_SRCDIR(src/cpio.h)
+AC_CONFIG_AUX_DIR([scripts])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
@@ -63,7 +64,7 @@ else
AC_DEFINE(NO_REMOTE,1,[Define if rmt is not needed]))
fi
-AC_CHECK_HEADERS(unistd.h stdlib.h string.h fcntl.h sys/io/trioctl.h utmp.h getopt.h locale.h)
+AC_CHECK_HEADERS(unistd.h stdlib.h string.h fcntl.h sys/io/trioctl.h utmp.h getopt.h locale.h libintl.h)
AC_REPLACE_FUNCS(bcopy mkdir strdup strerror)
AC_MSG_CHECKING(for sys_errlist and sys_nerr)
@@ -139,5 +140,14 @@ if test x"$cpio_cv_have_gnu_getopt" != xyes ; then
AC_LIBOBJ(getopt1)
fi
+# Gettext.
+AM_GNU_GETTEXT([external], [need-ngettext])
+AM_GNU_GETTEXT_VERSION(0.13)
-AC_OUTPUT(Makefile)
+AH_BOTTOM([
+#include "gettext.h"
+#define _(s) gettext(s)
+#define N_(s) gettext_noop(s)
+])
+
+AC_OUTPUT(Makefile doc/Makefile src/Makefile po/Makefile.in)

Return to:

Send suggestions and report system problems to the System administrator.