[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make getopt.c build in visual studio
From: |
Simon Josefsson |
Subject: |
Re: make getopt.c build in visual studio |
Date: |
Tue, 07 Mar 2006 14:33:33 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
I forgot this diff in the last e-mail:
Index: m4/unistd_h.m4
===================================================================
RCS file: m4/unistd_h.m4
diff -N m4/unistd_h.m4
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ m4/unistd_h.m4 7 Mar 2006 13:32:57 -0000
@@ -0,0 +1,18 @@
+# unistd_h.m4 serial 1
+dnl Copyright (C) 2006 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl Written by Simon Josefsson
+
+AC_DEFUN([gl_UNISTD],
+[
+ dnl Prerequisites of lib/unistd.h.
+ AC_CHECK_HEADERS([unistd.h], [
+ UNISTD_H=''
+ ], [
+ UNISTD_H='unistd.h'
+ ])
+ AC_SUBST(UNISTD_H)
+])