Displaying 13 results from an estimated 13 matches for "have_getopt_long".
2004 Aug 06
1
patch for compiling on IRIX
...08:59:58 -0000
@@ -52,7 +52,15 @@
AC_SUBST(src)
AC_CHECK_LIB(m, sin)
-AC_CHECK_LIB(gnugetopt, getopt_long)
+
+# Check for getopt_long; if not found, use included source.
+AC_CHECK_FUNCS([getopt_long],,
+[# FreeBSD has a gnugetopt library.
+ AC_CHECK_LIB([gnugetopt],[getopt_long],
+[AC_DEFINE([HAVE_GETOPT_LONG])],
+[# Use the GNU replacement.
+AC_LIBOBJ(getopt)
+AC_LIBOBJ(getopt1)])])
AC_DEFINE_UNQUOTED(VERSION, "${VERSION}")
Index: src/Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/speex/src/Makefile.am,v
retrieving revision 1....
2017 May 29
0
[PATCH] Add CMake build script
...igured conditionals (`config.h`):
* `WORDS_BIGENDIAN`
* `FLOATING_POINT`
* `FIXED_POINT`
* `FIXED_POINT_DEBUG`
* `DISABLE_FLOAT_API`
* `_USE_SSE`
* `ARM4_ASM`
* `ARM5E_ASM`
* `BFIN_ASM`
* `TI_C55X`
* `DISABLE_VBR`
* `USE_SPEEXDSP`
* `VORBIS_PSYCHO`
* `HAVE_GETOPT_H`
* `HAVE_GETOPT_LONG`
* `VAR_ARRAYS`
* `USE_ALLOCA`
* `HAVE_ALLOCA_H`
* `USE_SMALLFT`
* `USE_KISS_FFT`
* `USE_GPL_FFTW3`
* `EXPORT`
* Installation supported
* Package config mode supported
How to use
==========
Required tools and libraries:
* CMake >= 3.1
* Ogg, SpeexDSP packages (headers and import...
2005 May 23
3
module-init-tools ported to klibc
...have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+#include <stdio.h>
+#include <string.h>
+
+#include "mod_libc_wrapper.h"
+
+#ifndef HAVE_GETOPT_LONG
+#include "unistd.h"
+
+int getopt_long(int argc, char *const argv[],
+ const char *optstring,
+ const struct option *longopts, int *longindex)
+{
+ /* TODO: the rest of getopt_long */
+ return getopt(argc, argv, optstring);
+}
+
+#endif
+
+#ifndef HAVE_FNMATCH
+
+/* shamelessly c...
2005 Aug 16
0
building speex on macos x
...posted
by Alain Aubord but with the same results.
This seem to have affected several people running bsd and solaris
systems. I've not seen any complaints from Mac users however. After
some research i found out that getopt_long is included with Mac OS 10.3
or later.
I also noted the "HAVE_GETOPT_LONG" option within SpeexDec and
SpeexEnc. I guess it is connected to the following output from the
configure script:
checking for getopt_long... no
checking for getopt_long in -lgnugetopt... no
Had it been the case that getopt_long was _required_ i imagine the
configure script would have co...
2004 Sep 10
2
FLAC 1.0.4 beta released
...ext part --------------
--- src/metaflac/main.c.orig 2002-09-12 23:44:54.000000000 +0200
+++ src/metaflac/main.c 2002-09-12 23:59:10.000000000 +0200
@@ -33,6 +33,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <locale.h>
#if 0
/*[JEC] was:#if HAVE_GETOPT_LONG*/
@@ -308,6 +309,7 @@
CommandLineOptions options;
int ret = 0;
+ setlocale(LC_ALL, "");
init_options(&options);
if(parse_options(argc, argv, &options))
2007 May 15
1
zisofs-tools sloppy option does not work
....sloppy 2007-05-15
08:42:20.000000000 -0400
+++ zisofs-tools-1.0.7/mkzftree.c 2007-05-15 08:47:08.000000000
-0400
@@ -95,7 +95,7 @@
const char *program;
/* Long options */
-#define OPTSTRING "fz:up:xXC:lLFvqV:hw"
+#define OPTSTRING "fz:up:xXC:lLFvqV:hws"
#ifdef HAVE_GETOPT_LONG
const struct option long_options[] = {
{ "force", 0, 0, 'f' },
@@ -113,6 +113,7 @@
{ "verbosity", 1, 0, 'V' },
{ "help", 0, 0, 'h' },
{ "version", 0, 0, ...
2005 May 12
2
Problem configuring speex 1.1.8
Can you send me the config.log?
Jean-Marc
Le vendredi 13 mai 2005 ? 00:16 +0200, Pierre a ?crit :
> Jean-Marc Valin wrote:
> > What platform (OS, compiler/version)
>
> GNU/Linux
> kernel 2.6.11.8
> gcc 3.4.3
>
> > Also, does it work with no options.
>
> No, I just tried with just "./configure" and I have the same error.
>
>
--
Jean-Marc
2005 May 13
0
Problem configuring speex 1.1.8
...S_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define restrict __restrict
| #define VAR_ARRAYS
| #define HAVE_SYS_SOUNDCARD_H 1
| #define HAVE_LIBM 1
| #define HAVE_GETOPT_LONG 1
| #define HAVE_LIBWINMM 1
| #define SPEEX_VERSION "1.1.8"
| #define SPEEX_MAJOR_VERSION 1
| #define SPEEX_MINOR_VERSION 1
| #define SPEEX_MICRO_VERSION 8
| #define SPEEX_EXTRA_VERSION ""
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <...
2005 May 13
1
Problem configuring speex 1.1.8
...E_UNISTD_H 1
> | #define HAVE_DLFCN_H 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | #define restrict __restrict
> | #define VAR_ARRAYS
> | #define HAVE_SYS_SOUNDCARD_H 1
> | #define HAVE_LIBM 1
> | #define HAVE_GETOPT_LONG 1
> | #define HAVE_LIBWINMM 1
> | #define SPEEX_VERSION "1.1.8"
> | #define SPEEX_MAJOR_VERSION 1
> | #define SPEEX_MINOR_VERSION 1
> | #define SPEEX_MICRO_VERSION 8
> | #define SPEEX_EXTRA_VERSION ""
> | /* end confdefs.h. */
> | #include <stdio.h>...
2005 May 08
2
Problem configuring speex 1.1.8
...S_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define restrict __restrict
| #define VAR_ARRAYS
| #define HAVE_SYS_SOUNDCARD_H 1
| #define HAVE_LIBM 1
| #define HAVE_GETOPT_LONG 1
| #define HAVE_LIBWINMM 1
| #define SPEEX_VERSION "1.1.8"
| #define SPEEX_MAJOR_VERSION 1
| #define SPEEX_MINOR_VERSION 1
| #define SPEEX_MICRO_VERSION 8
| #define SPEEX_EXTRA_VERSION ""
| #define ENABLE_VALGRIND
| #define _USE_SSE
| #define FIXED_POINT
| #define EPIC_48K
| #d...
2004 Sep 10
5
FLAC 1.0.4 beta released
All,
I have just finished uploading the source release for FLAC 1.0.4 beta
to Sourceforge; there are no binary releases. See the included
doc/html/news.html for the changes since 1.0.3; there are quite a few.
http://prdownloads.sourceforge.net/flac/flac-1.0.4_beta-src.tar.gz?download
Please beat up on this as much as possible in the next week or two and
try and turn up bugs. Here's a
2008 Apr 04
0
speexdec 1.2.3
...THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#if !defined WIN32 && !defined _WIN32
#include <unistd.h>
#endif
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#ifndef HAVE_GETOPT_LONG
#include "getopt_win.h"
#endif
#include <stdlib.h>
#include <string.h>
#include <speex/speex.h>
#include <ogg/ogg.h>
#if defined WIN32 || defined _WIN32
#include "wave_out.h"
/* We need the following two to set stdout to binary */
#include <io.h>...
2008 Apr 04
2
speexdec 1.2.3
On Fri, Apr 4, 2008 at 12:19 AM, Jean-Marc Valin
<jean-marc.valin at usherbrooke.ca> wrote:
> Jahn, Ray (R.) a ?crit :
>
> > Dear Speex codec community:
> >
> > I am working on conversion of voice files. I could not figure out how to use speexdec.exe 1.2.3 in piped mode in order to avoid the creation of the potentially large intermediate *.wav or *.pcm files. Any