shithub: sox

Download patch

ref: 03df8e0fd971d42cb37746eeef9a017bd0a1e766
parent: 6d5b46ccd755aa9695dfd02e84395825975faef9
author: cbagwell <cbagwell>
date: Thu Jun 29 20:21:59 EDT 2006

win32 and watcom updates for getopt_long

--- a/watcom/stconfig.h
+++ b/watcom/stconfig.h
@@ -30,13 +30,10 @@
 /* Define to 1 if you have the <fcntl.h> header file. */
 #define HAVE_FCNTL_H 1
 
-/* Define to 1 if you have the `getopt' function. */
-//#define HAVE_GETOPT 1
+/* Define to 1 if you have the `getopt_long' function. */
+#undef HAVE_GETOPT_LONG
 /* My Open Watcom 1.4 rc2 has getopt via <unistd.h> but there are issues
 after "-" and invalid options. */
-
-/* Define to 1 if you have the <getopt.h> header file. */
-#undef HAVE_GETOPT_H
 
 /* Define to 1 if you have the <inttypes.h> header file. */
 #define HAVE_INTTYPES_H 1
--- a/win32/stconfig.h
+++ b/win32/stconfig.h
@@ -30,11 +30,8 @@
 /* Define to 1 if you have the <fcntl.h> header file. XXX */
 #define HAVE_FCNTL_H 1
 
-/* Define to 1 if you have the `getopt' function. */
-#undef HAVE_GETOPT
-
-/* Define to 1 if you have the <getopt.h> header file. */
-#undef HAVE_GETOPT_H
+/* Define to 1 if you have the `getopt_long' function. */
+#undef HAVE_GETOPT_LONG
 
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H