aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-02-08 09:28:51 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-02-08 09:28:51 +0000
commit031090eb8eca0e1e3b4f14bd083e123dfdbffe9e (patch)
treee6b2f09fef5f7481f019c9b7fe460ab1bbac41fe /configure.ac
parent8093c893237cc5b67422d5b59db0c44acb5b2bd1 (diff)
downloadcpio-031090eb8eca0e1e3b4f14bd083e123dfdbffe9e.tar.gz
cpio-031090eb8eca0e1e3b4f14bd083e123dfdbffe9e.tar.bz2
Fix mingw build. Thanks to Robert Millan.
* NEWS, THANKS: Update. * bootstrap: Create lib/system.c, m4/sysdep.m4, update lib/system.h. * mingw.m4, sysdep.m4: New files. * configure.ac: Raise version number to 2.9.90. Call CPIO_SYSDEP. Remove the call to gl_USE_SYSTEM_EXTENSIONS. (AC_CHECK_HEADERS): Add process.h sys/ioctl.h * lib/Makefile.am (libcpio_a_SOURCES): Add system.c * src/idcache.c: Include system.h * src/userspec.c: Remove alloca stuff (already handled by gnulib). Include alloca.h. Remove useless declarations of get.* functions. * src/util.c: Include sys/ioctl.h conditionally.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 9ca5131..33f0f51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software Foundation,
dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-AC_INIT([GNU cpio], [2.9], [bug-cpio@gnu.org])
+AC_INIT([GNU cpio], [2.9.90], [bug-cpio@gnu.org])
AC_CONFIG_SRCDIR(src/cpio.h)
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE
@@ -25,7 +25,6 @@ AC_CONFIG_HEADERS([config.h])
AC_PREREQ([2.59])
dnl Check for programs
-gl_USE_SYSTEM_EXTENSIONS
AC_PROG_CC
AC_PROG_CPP
AC_PROG_GCC_TRADITIONAL
@@ -45,12 +44,14 @@ AC_CHECK_TYPE(gid_t, int)
AC_HEADER_STDC
AC_HEADER_DIRENT
-AC_CHECK_FUNCS([fchmod fchown])
+AC_CHECK_FUNCS([fchmod fchown setmode])
# gnulib modules
gl_INIT
# paxutils modules
cpio_PAXUTILS
+# Additional system dependencies (for mingw)
+CPIO_SYSDEP
AC_SUBST(CPIO_MT_PROG)
@@ -61,7 +62,7 @@ AC_ARG_ENABLE(mt,
no) ;;
esac])
-AC_CHECK_HEADERS(unistd.h stdlib.h string.h fcntl.h sys/io/trioctl.h utmp.h getopt.h locale.h libintl.h sys/wait.h utime.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 sys/wait.h utime.h locale.h process.h sys/ioctl.h)
AC_MSG_CHECKING(for sys_errlist and sys_nerr)
AC_TRY_RUN(

Return to:

Send suggestions and report system problems to the System administrator.