changeset 15413:9128fa93fb21

configure.ac: Eliminate unnecessary unistd.h replacement for MSVC targets. * configure.ac: Eliminate unnecessary unistd.h replacement for MSVC targets.
author Rik <rik@octave.org>
date Tue, 18 Sep 2012 10:55:59 -0700
parents 598aa97253e2
children 3dcd96e1f657
files configure.ac
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac
+++ b/configure.ac
@@ -1798,22 +1798,6 @@
 AC_HEADER_DIRENT
 AC_HEADER_SYS_WAIT
 
-dnl FIXME: We should probably only generate this file if it is missing.
-### Produce unistd.h for MSVC target, this simplifies changes in
-### Octave source tree and avoid problems with lex-generated code.
-case $canonical_host_type in
-  *-*-msdosmsvc)
-    AC_MSG_NOTICE([Generating replacement for <unistd.h> for MSVC])
-    cat << \EOF > unistd.h
-/* File generated by configure script. */
-#include <direct.h>
-#include <io.h>
-#include <process.h>
-EOF
-    CPPFLAGS="-I. $CPPFLAGS"
-    ;;
-esac
-
 ## C headers
 
 dnl Use multiple AC_CHECKs to avoid line continuations '\' in list