+2005-01-06 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Invoke gl_EXITFAIL.
+
2005-01-06 Bruno Haible <bruno@clisp.org>
* configure.ac: Invoke gl_GETOPT.
if test $am_cv_func_working_getline != yes; then
AC_CHECK_FUNCS(getdelim)
fi
+gl_EXITFAIL
gl_FUNC_FNMATCH_POSIX
gl_GETOPT
gl_FUNC_EACCESS
+2005-01-06 Bruno Haible <bruno@clisp.org>
+
+ * exitfail.h: New file, from gnulib.
+ * exitfail.c: New file, from gnulib.
+ * Makefile.am (libgettextlib_la_SOURCES): Add exitfail.h, exitfail.c.
+ * Makefile.msvc (OBJECTS): Add exitfail.obj.
+ (exitfail.obj): New rule.
+ * Makefile.vms (OBJECTS): Add exitfail.obj.
+ (exitfail.obj): New rule.
+
2005-01-06 Bruno Haible <bruno@clisp.org>
* Makefile.am (libgettextlib_la_SOURCES): Remove getopt files.
error-progname.h error-progname.c \
execute.h execute.c w32spawn.h \
exit.h \
+ exitfail.h exitfail.c \
fatal-signal.h fatal-signal.c \
findprog.h findprog.c \
fstrcmp.h fstrcmp.c \
error.obj \
error-progname.obj \
execute.obj \
+ exitfail.obj \
fatal-signal.obj \
findprog.obj \
fstrcmp.obj \
execute.obj : execute.c
$(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c execute.c
+exitfail.obj : exitfail.c
+ $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c exitfail.c
+
fatal-signal.obj : fatal-signal.c
$(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c fatal-signal.c
error.obj, \
error-progname.obj, \
execute.obj, \
+ exitfail.obj, \
fatal-signal.obj, \
findprog.obj, \
fstrcmp.obj, \
execute.obj : execute.c
$(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) execute.c
+exitfail.obj : exitfail.c
+ $(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) exitfail.c
+
fatal-signal.obj : fatal-signal.c
$(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) fatal-signal.c
--- /dev/null
+/* Failure exit status
+
+ Copyright (C) 2002, 2003 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; see the file COPYING.
+ If not, write to the Free Software Foundation,
+ 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include "exitfail.h"
+#include "exit.h"
+
+int volatile exit_failure = EXIT_FAILURE;
--- /dev/null
+/* Failure exit status
+
+ Copyright (C) 2002 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; see the file COPYING.
+ If not, write to the Free Software Foundation,
+ 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+extern int volatile exit_failure;
+2005-01-06 Bruno Haible <bruno@clisp.org>
+
+ * exitfail.m4: New file, from gnulib.
+ * Makefile.am (EXTRA_DIST): Add exitfail.m4.
+
2005-01-06 Bruno Haible <bruno@clisp.org>
* Makefile.am (EXTRA_DIST): Add getopt.m4.
eaccess.m4 \
eealloc.m4 \
error.m4 \
+exitfail.m4 \
extensions.m4 \
fnmatch.m4 \
gcj.m4 \
--- /dev/null
+# exitfail.m4 serial 3
+dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+dnl This file is free software, distributed under the terms of the GNU
+dnl General Public License. As a special exception to the GNU General
+dnl Public License, this file may be distributed as part of a program
+dnl that contains a configuration script generated by Autoconf, under
+dnl the same distribution terms as the rest of that program.
+
+AC_DEFUN([gl_EXITFAIL],
+[
+ dnl No prerequisites of lib/exitfail.c.
+ :
+])