Hello ! While compiling MAD 0.14.2b on Solaris 9 using the native
SUN studio7 C compiler this error occurs.
make[2]: Entering directory `/opt/src/mad-0.14.2b/libmad'
/bin/sh ./libtool --mode=compile /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_SPARC -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -xtarget=ultra
-xarch=v8plusa -fast -c synth.c
/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -DFPM_SPARC -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -xtarget=ultra -xarch=v8plusa -fast -c -KPIC -DPIC
synth.c -o synth.o
cc: Warning: -xarch=native has been explicitly specified, or implicitly specified by a macro option, -xarch=native on this architecture implies -xarch=v8plusa which generates code that does not run on
pre UltraSPARC processors
"synth.c", line 218: syntax error before or at: {
"synth.c", line 218: cannot recover from previous errors
cc: acomp failed for synth.c
gmake[2]: *** [synth.lo] Error 1
gmake[2]: Leaving directory `/opt/src/mad-0.14.2b/libmad'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/src/mad-0.14.2b'
gmake: *** [all-recursive-am] Error 2
this is line 218 and 219 in synth.c
t0 = in[0] + in[31]; t16 = MUL(in[0] - in[31], costab1);
t1 = in[15] + in[16]; t17 = MUL(in[15] - in[16], costab31);
This is obviously O.K. with GCC 3.2.2 why would Sun's Studio7 Compiler threw it out ?
I have included the config.log config.h and makefile from the libmad directory.
--
========================================================
Lars Tunkrans
ICL Distinguished Engineer,
SUN Certified Network Administrator
Microsoft MCP MCP+I MCSE MCSE+I
Phone: +46-87937419 +46-707937419
Internet Mail: ltu(a)icl.se
Exchange Mail: lars.tunkrans(a)icl.se
Hemma: lars.tunkrans(a)bredband.net
--------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:744: checking for a BSD compatible install
configure:797: checking whether build environment is sane
configure:854: checking whether make sets ${MAKE}
configure:900: checking for working aclocal
configure:913: checking for working autoconf
configure:926: checking for working automake
configure:939: checking for working autoheader
configure:952: checking for working makeinfo
configure:980: checking host system type
configure:1005: checking for gcc
configure:1118: checking whether the C compiler (/opt/SUNWspro/bin/cc -fast -xtarget=ultra -xarch=v8plusa -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib) works
configure:1134: /opt/SUNWspro/bin/cc -o conftest -fast -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
"configure", line 1131: warning: old-style declaration or incorrect type for: main
configure:1160: checking whether the C compiler (/opt/SUNWspro/bin/cc -fast -xtarget=ultra -xarch=v8plusa -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib) is a cross-compiler
configure:1165: checking whether we are using GNU C
configure:1174: /opt/SUNWspro/bin/cc -E conftest.c
configure:1193: checking whether /opt/SUNWspro/bin/cc accepts -g
configure:1226: checking for POSIXized ISC
configure:1318: checking build system type
configure:1338: checking for ranlib
configure:1404: checking for non-GNU ld
configure:1439: checking if the linker (/usr/ccs/bin/ld) is GNU ld
configure:1455: checking for BSD-compatible nm
configure:1491: checking whether ln -s works
ltconfig:581: checking whether we are using GNU C
ltconfig:589: /opt/SUNWspro/bin/cc -E conftest.c
ltconfig:603: checking for object suffix
ltconfig:604: /opt/SUNWspro/bin/cc -c -fast -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: /opt/SUNWspro/bin/cc -o conftest -fast -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
"conftest.c", line 1: warning: old-style declaration or incorrect type for: main
ltconfig:776: checking if /opt/SUNWspro/bin/cc PIC flag -KPIC works
ltconfig:777: /opt/SUNWspro/bin/cc -c -fast -xtarget=ultra -xarch=v8plusa -KPIC -DPIC -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c 1>&5
ltconfig:829: checking if /opt/SUNWspro/bin/cc supports -c -o file.o
ltconfig:830: /opt/SUNWspro/bin/cc -c -fast -xtarget=ultra -xarch=v8plusa -o out/conftest2.o -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c 1>&5
ltconfig:862: checking if /opt/SUNWspro/bin/cc supports -c -o file.lo
ltconfig:863: /opt/SUNWspro/bin/cc -c -fast -xtarget=ultra -xarch=v8plusa -c -o conftest.lo -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c 1>&5
cc: illegal suffix of output filename
ltconfig:958: checking if /opt/SUNWspro/bin/cc static flag -Bstatic works
ltconfig:959: /opt/SUNWspro/bin/cc -o conftest -fast -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib -Bstatic conftest.c 1>&5
"conftest.c", line 1: warning: old-style declaration or incorrect type for: main
ltconfig:1592: checking if global_symbol_pipe works
ltconfig:1593: /opt/SUNWspro/bin/cc -c -fast -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c 1>&5
"conftest.c", line 9: warning: old-style declaration or incorrect type for: main
ltconfig:1596: eval "/usr/ccs/bin/nm -p conftest.o | sed -n -e 's/^.*[ ]\([BDT]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1648: /opt/SUNWspro/bin/cc -o conftest -fast -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c conftstm.o 1>&5
configure:1680: checking how to run the C preprocessor
configure:1701: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:1882: checking for ANSI C header files
configure:1895: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:1962: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
"configure", line 1957: warning: implicit function declaration: exit
configure:1986: checking for working const
configure:2040: /opt/SUNWspro/bin/cc -c -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c 1>&5
configure:2061: checking for inline
configure:2075: /opt/SUNWspro/bin/cc -c -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c 1>&5
configure:2101: checking for off_t
configure:2134: checking for size_t
configure:2169: checking for working alloca.h
configure:2181: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:2202: checking for alloca
configure:2235: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:2404: checking for unistd.h
configure:2414: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:2443: checking for getpagesize
configure:2471: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:2496: checking for working mmap
configure:2647: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
"configure", line 2578: identifier redeclared: malloc
current : function() returning pointer to char
previous: function(unsigned int) returning pointer to void : "/usr/include/iso/stdlib_iso.h", line 105
cc: acomp failed for conftest.c
configure: failed program was:
#line 2504 "configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test.
Here is a matrix of mmap possibilities:
mmap private not fixed
mmap private fixed at somewhere currently unmapped
mmap private fixed at somewhere already mapped
mmap shared not fixed
mmap shared fixed at somewhere currently unmapped
mmap shared fixed at somewhere already mapped
For private mappings, we should verify that changes cannot be read()
back from the file, nor mmap's back from the file at a different
address. (There have been systems where private was not correctly
implemented like the infamous i386 svr4.0, and systems where the
VM page cache was not coherent with the filesystem buffer cache
like early versions of FreeBSD and possibly contemporary NetBSD.)
For shared mappings, we should conversely verify that changes get
propogated back to all the places they're supposed to be.
Grep wants private fixed already mapped.
The main things grep needs to know about mmap are:
* does it exist and is it safe to write into the mmap'd area
* how to use it (BSD variants) */
#include <sys/types.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
/* This mess was copied from the GNU getpagesize.h. */
#ifndef HAVE_GETPAGESIZE
/* Assume that all systems that can run configure have sys/param.h. */
# ifndef HAVE_SYS_PARAM_H
# define HAVE_SYS_PARAM_H 1
# endif
# ifdef _SC_PAGESIZE
# define getpagesize() sysconf(_SC_PAGESIZE)
# else /* no _SC_PAGESIZE */
# ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
# ifdef EXEC_PAGESIZE
# define getpagesize() EXEC_PAGESIZE
# else /* no EXEC_PAGESIZE */
# ifdef NBPG
# define getpagesize() NBPG * CLSIZE
# ifndef CLSIZE
# define CLSIZE 1
# endif /* no CLSIZE */
# else /* no NBPG */
# ifdef NBPC
# define getpagesize() NBPC
# else /* no NBPC */
# ifdef PAGESIZE
# define getpagesize() PAGESIZE
# endif /* PAGESIZE */
# endif /* no NBPC */
# endif /* no NBPG */
# endif /* no EXEC_PAGESIZE */
# else /* no HAVE_SYS_PARAM_H */
# define getpagesize() 8192 /* punt totally */
# endif /* no HAVE_SYS_PARAM_H */
# endif /* no _SC_PAGESIZE */
#endif /* no HAVE_GETPAGESIZE */
#ifdef __cplusplus
extern "C" { void *malloc(unsigned); }
#else
char *malloc();
#endif
int
main()
{
char *data, *data2, *data3;
int i, pagesize;
int fd;
pagesize = getpagesize();
/*
* First, make a file with some known garbage in it.
*/
data = (char*)malloc(pagesize);
if (!data)
exit(1);
for (i = 0; i < pagesize; ++i)
*(data + i) = rand();
umask(0);
fd = creat("conftestmmap", 0600);
if (fd < 0)
exit(1);
if (write(fd, data, pagesize) != pagesize)
exit(1);
close(fd);
/*
* Next, try to mmap the file at a fixed address which
* already has something else allocated at it. If we can,
* also make sure that we see the same garbage.
*/
fd = open("conftestmmap", O_RDWR);
if (fd < 0)
exit(1);
data2 = (char*)malloc(2 * pagesize);
if (!data2)
exit(1);
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_FIXED, fd, 0L))
exit(1);
for (i = 0; i < pagesize; ++i)
if (*(data + i) != *(data2 + i))
exit(1);
/*
* Finally, make sure that changes to the mapped area
* do not percolate back to the file as seen by read().
* (This is a bug on some variants of i386 svr4.0.)
*/
for (i = 0; i < pagesize; ++i)
*(data2 + i) = *(data2 + i) + 1;
data3 = (char*)malloc(pagesize);
if (!data3)
exit(1);
if (read(fd, data3, pagesize) != pagesize)
exit(1);
for (i = 0; i < pagesize; ++i)
if (*(data + i) != *(data3 + i))
exit(1);
close(fd);
unlink("conftestmmap");
exit(0);
}
configure:2675: checking for argz.h
configure:2685: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
"configure", line 2681: cannot find include file: <argz.h>
cc: acomp failed for conftest.c
configure: failed program was:
#line 2680 "configure"
#include "confdefs.h"
#include <argz.h>
configure:2675: checking for limits.h
configure:2685: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:2675: checking for locale.h
configure:2685: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:2675: checking for nl_types.h
configure:2685: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:2675: checking for malloc.h
configure:2685: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:2675: checking for string.h
configure:2685: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:2675: checking for unistd.h
configure:2675: checking for sys/param.h
configure:2685: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:2715: checking for getcwd
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:2715: checking for munmap
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:2715: checking for putenv
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:2715: checking for setenv
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
Undefined first referenced
symbol in file
setenv conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 2720 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setenv(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char setenv();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_setenv) || defined (__stub___setenv)
choke me
#else
setenv();
#endif
; return 0; }
configure:2715: checking for setlocale
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:2715: checking for strchr
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:2715: checking for strcasecmp
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:2715: checking for strdup
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:2715: checking for __argz_count
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
Undefined first referenced
symbol in file
__argz_count conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 2720 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __argz_count(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char __argz_count();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub___argz_count) || defined (__stub_____argz_count)
choke me
#else
__argz_count();
#endif
; return 0; }
configure:2715: checking for __argz_stringify
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
Undefined first referenced
symbol in file
__argz_stringify conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 2720 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __argz_stringify(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char __argz_stringify();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub___argz_stringify) || defined (__stub_____argz_stringify)
choke me
#else
__argz_stringify();
#endif
; return 0; }
configure:2715: checking for __argz_next
configure:2743: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
Undefined first referenced
symbol in file
__argz_next conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 2720 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char __argz_next(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char __argz_next();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub___argz_next) || defined (__stub_____argz_next)
choke me
#else
__argz_next();
#endif
; return 0; }
configure:2772: checking for stpcpy
configure:2800: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
Undefined first referenced
symbol in file
stpcpy conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 2777 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char stpcpy(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char stpcpy();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_stpcpy) || defined (__stub___stpcpy)
choke me
#else
stpcpy();
#endif
; return 0; }
configure:2834: checking for LC_MESSAGES
configure:2846: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
"configure", line 2843: warning: statement not reached
configure:2867: checking whether NLS is requested
configure:2887: checking whether included gettext is requested
configure:2906: checking for libintl.h
configure:2916: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:2933: checking for gettext in libc
configure:2945: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
"configure", line 2942: warning: statement not reached
configure:3060: checking for msgfmt
configure:3094: checking for dcgettext
configure:3122: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:3149: checking for gmsgfmt
configure:3185: checking for xgettext
configure:3225: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
"configure", line 3222: warning: statement not reached
Undefined first referenced
symbol in file
_nl_msg_cat_cntr conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 3217 "configure"
#include "confdefs.h"
int main() {
extern int _nl_msg_cat_cntr;
return _nl_msg_cat_cntr
; return 0; }
configure:3683: checking for catalogs to be installed
configure:3788: checking for ANSI C header files
configure:3897: checking for assert.h
configure:3907: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:3897: checking for termios.h
configure:3907: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:3897: checking for stropts.h
configure:3907: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:3897: checking for sys/types.h
configure:3907: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:3897: checking for fcntl.h
configure:3907: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:3897: checking for errno.h
configure:3907: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
configure:3897: checking for sys/soundcard.h
configure:3907: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
"configure", line 3903: cannot find include file: <sys/soundcard.h>
cc: acomp failed for conftest.c
configure: failed program was:
#line 3902 "configure"
#include "confdefs.h"
#include <sys/soundcard.h>
configure:3897: checking for machine/soundcard.h
configure:3907: /opt/SUNWspro/bin/cc -E -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c >/dev/null 2>conftest.out
"configure", line 3903: cannot find include file: <machine/soundcard.h>
cc: acomp failed for conftest.c
configure: failed program was:
#line 3902 "configure"
#include "confdefs.h"
#include <machine/soundcard.h>
configure:3936: checking for working const
configure:4011: checking for inline
configure:4051: checking whether byte ordering is bigendian
configure:4069: /opt/SUNWspro/bin/cc -c -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include conftest.c 1>&5
"configure", line 4064: undefined symbol: bogus
"configure", line 4064: syntax error before or at: endian
cc: acomp failed for conftest.c
configure: failed program was:
#line 4058 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
bogus endian macros
#endif
; return 0; }
configure:4117: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
"configure", line 4105: warning: old-style declaration or incorrect type for: main
"configure", line 4113: warning: implicit function declaration: exit
configure: failed program was:
#line 4104 "configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
union
{
long l;
char c[sizeof (long)];
} u;
u.l = 1;
exit (u.c[sizeof (long) - 1] == 1);
}
configure:4143: checking for vprintf
configure:4171: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:4250: checking for madvise
configure:4278: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:4250: checking for localeconv
configure:4278: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:4305: checking for strcasecmp
configure:4305: checking for strncasecmp
configure:4333: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
configure:4361: checking for library containing pow
configure:4379: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c 1>&5
Undefined first referenced
symbol in file
pow conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:
#line 4368 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char pow();
int main() {
pow()
; return 0; }
configure:4401: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c -lm 1>&5
configure:4423: checking for library containing log10
configure:4441: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c -lm 1>&5
configure:4487: checking for compress2 in -lz
configure:4506: /opt/SUNWspro/bin/cc -o conftest -xtarget=ultra -xarch=v8plusa -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib conftest.c -lz -lm 1>&5
configure:4538: checking for unistd.h
configure:4577: checking for getpagesize
configure:4630: checking for working mmap
configure:4806: checking whether to use mmap
configure:4882: checking for audio support
"configure", line 4915: cannot find include file: <mmsystem.h>
cc: acomp failed for conftest.c
"configure", line 4933: cannot find include file: <sys/soundcard.h>
cc: acomp failed for conftest.c
"configure", line 4955: cannot find include file: <machine/soundcard.h>
cc: acomp failed for conftest.c
configure:5119: checking whether to enable profiling
configure:5133: checking whether to enable debugging
configure:5220: checking whether to enable experimental code
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
/*
* mad - MPEG audio decoder
* Copyright (C) 2000-2001 Robert Leslie
*
* 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 of the License, 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; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* $Id: config.h.in,v 1.80 2001/11/03 21:07:47 rob Exp $
*/
# ifndef CONFIG_H
# define CONFIG_H
/*****************************************************************************
* Definitions selected automatically by `configure' *
*****************************************************************************/
/* Define if using alloca.c. */
/* #undef C_ALLOCA */
/* Define to empty if the keyword does not work. */
/* #undef const */
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
This function is required for alloca.c support on those systems. */
/* #undef CRAY_STACKSEG_END */
/* Define if you have alloca, as a function or macro. */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#define HAVE_ALLOCA_H 1
/* Define if you don't have vprintf but do have _doprnt. */
/* #undef HAVE_DOPRNT */
/* Define if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */
/* Define if you have the vprintf function. */
#define HAVE_VPRINTF 1
/* Define as __inline if that's what the C compiler calls it. */
/* #undef inline */
/* Define to `long' if <sys/types.h> doesn't define. */
/* #undef off_t */
/* Define if you need to in order for stat and other things to work. */
/* #undef _POSIX_SOURCE */
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at run-time.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown
*/
/* #undef STACK_DIRECTION */
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
#define WORDS_BIGENDIAN 1
/* Define to be the name of your default audio output module. */
#define AUDIO_DEFAULT audio_sun
/* Define if you have mmap() and you want to use it. */
#define USE_MMAP 1
/* Define to 1 if NLS is requested. */
#define ENABLE_NLS 1
/* Define as 1 if you have catgets and don't want to use GNU gettext. */
/* #undef HAVE_CATGETS */
/* Define as 1 if you have gettext and don't want to use GNU gettext. */
#define HAVE_GETTEXT 1
/* Define if your locale.h file contains LC_MESSAGES. */
#define HAVE_LC_MESSAGES 1
/* Define as 1 if you have the stpcpy function. */
/* #undef HAVE_STPCPY */
/* Define to enable diagnostic debugging support. */
/* #undef DEBUG */
/* Define to disable debugging assertions. */
/* #undef NDEBUG */
/* Define to enable experimental code. */
/* #undef EXPERIMENTAL */
/* Define if you have the __argz_count function. */
/* #undef HAVE___ARGZ_COUNT */
/* Define if you have the __argz_next function. */
/* #undef HAVE___ARGZ_NEXT */
/* Define if you have the __argz_stringify function. */
/* #undef HAVE___ARGZ_STRINGIFY */
/* Define if you have the dcgettext function. */
#define HAVE_DCGETTEXT 1
/* Define if you have the getcwd function. */
#define HAVE_GETCWD 1
/* Define if you have the getpagesize function. */
#define HAVE_GETPAGESIZE 1
/* Define if you have the localeconv function. */
#define HAVE_LOCALECONV 1
/* Define if you have the madvise function. */
#define HAVE_MADVISE 1
/* Define if you have the munmap function. */
#define HAVE_MUNMAP 1
/* Define if you have the putenv function. */
#define HAVE_PUTENV 1
/* Define if you have the setenv function. */
/* #undef HAVE_SETENV */
/* Define if you have the setlocale function. */
#define HAVE_SETLOCALE 1
/* Define if you have the stpcpy function. */
/* #undef HAVE_STPCPY */
/* Define if you have the strcasecmp function. */
#define HAVE_STRCASECMP 1
/* Define if you have the strchr function. */
#define HAVE_STRCHR 1
/* Define if you have the strdup function. */
#define HAVE_STRDUP 1
/* Define if you have the strncasecmp function. */
#define HAVE_STRNCASECMP 1
/* Define if you have the <argz.h> header file. */
/* #undef HAVE_ARGZ_H */
/* Define if you have the <assert.h> header file. */
#define HAVE_ASSERT_H 1
/* Define if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define if you have the <machine/soundcard.h> header file. */
/* #undef HAVE_MACHINE_SOUNDCARD_H */
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define if you have the <nl_types.h> header file. */
#define HAVE_NL_TYPES_H 1
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define if you have the <stropts.h> header file. */
#define HAVE_STROPTS_H 1
/* Define if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
/* Define if you have the <sys/soundcard.h> header file. */
/* #undef HAVE_SYS_SOUNDCARD_H */
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define if you have the efence library (-lefence). */
/* #undef HAVE_LIBEFENCE */
/* Define if you have the esd library (-lesd). */
/* #undef HAVE_LIBESD */
/* Define if you have the i library (-li). */
/* #undef HAVE_LIBI */
/* Name of package */
#define PACKAGE "mad"
/* Version number of package */
#define VERSION "0.14.2b"
/*****************************************************************************
* End of automatically configured definitions *
*****************************************************************************/
# endif
# Generated automatically from Makefile.in by configure.
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = /bin/sh
srcdir = .
top_srcdir = .
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/mad
pkglibdir = $(libdir)/mad
pkgincludedir = $(includedir)/mad
top_builddir = .
ACLOCAL = aclocal
AUTOCONF = autoconf
AUTOMAKE = automake
AUTOHEADER = autoheader
INSTALL = /opt/sfw/bin/ginstall -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = sparc-sun-solaris2.9
host_triplet = sparc-sun-solaris2.9
AS = @AS@
AUDIO = audio_sun.o
CATALOGS = en.mo es.mo fr.mo hr.mo no.mo
CATOBJEXT = .mo
CC = /opt/SUNWspro/bin/cc
DATADIRNAME = lib
DLLTOOL = @DLLTOOL@
GENCAT =
GMOFILES = en.gmo es.gmo fr.gmo hr.gmo no.gmo
GMSGFMT = /usr/bin/msgfmt
GT_NO =
GT_YES = #YES#
INCLUDE_LOCALE_H = #include <locale.h>
INSTOBJEXT = .mo
INTLDEPS =
INTLLIBS =
INTLOBJS =
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIBTOOL_DEPS = ./ltconfig ./ltmain.sh
LN_S = ln -s
MAKEINFO = makeinfo
MKINSTALLDIRS = ./mkinstalldirs
MSGFMT = /usr/bin/msgfmt
OBJDUMP = @OBJDUMP@
PACKAGE = mad
POFILES = en.po es.po fr.po hr.po no.po
POSUB = po
RANLIB = ranlib
USE_INCLUDED_LIBINTL = no
USE_NLS = yes
VERSION = 0.14.2b
l =
#winamp = winamp
winamp =
#libz = libz
libz =
#ldadd_libz = -Llibz -lz
ldadd_libz = -lz
SUBDIRS = intl po $(libz) libid3tag libmad $(winamp)
DIST_SUBDIRS = intl po libz libid3tag libmad winamp msvc++
bin_PROGRAMS = madplay
bin_SCRIPTS = abxtest
EXTRA_PROGRAMS = madtime minimad madmix mad123
man_MANS = madplay.1 abxtest.1
EXTRA_DIST = $(man_MANS) $(bin_SCRIPTS) CHANGES COPYRIGHT CREDITS README TODO VERSION
default_audio = audio.c audio.h audio_cdda.c audio_aiff.c audio_wave.c audio_snd.c audio_raw.c audio_null.c
extra_audio = audio_oss.c audio_empeg.c audio_sun.c audio_win32.c audio_hex.c audio_esd.c
common_sources = version.c version.h global.h
madplay_SOURCES = $(common_sources) $(default_audio) madplay.c resample.c filter.c equalizer.c xing.c player.c resample.h filter.h equalizer.h xing.h player.h getopt.c getopt1.c getopt.h
EXTRA_madplay_SOURCES = $(extra_audio)
madtime_SOURCES = $(common_sources) madtime.c
minimad_SOURCES = minimad.c
mad123_SOURCES = mad123.c
madmix_SOURCES = $(common_sources) madmix.c $(default_audio)
EXTRA_madmix_SOURCES = $(extra_audio)
audio = audio_sun.o
localedir = $(datadir)/locale
INCLUDES = -Ilibmad -I$(srcdir)/libid3tag -Iintl -DLOCALEDIR=\"$(localedir)\"
depend_libmad = libmad/libmad.la
depend_libid3tag = libid3tag/libid3tag.la
ldadd_libmad = $(depend_libmad)
ldadd_libid3tag = $(depend_libid3tag) $(ldadd_libz)
depend =
ldadd = $(depend)
DEPENDENCIES = $(depend) $(depend_libmad)
LDADD = $(ldadd) $(ldadd_libmad)
madplay_DEPENDENCIES = $(audio) $(DEPENDENCIES) $(depend_libid3tag)
madplay_LDADD = $(audio) $(LDADD) $(ldadd_libid3tag)
madmix_DEPENDENCIES = $(audio) $(DEPENDENCIES)
madmix_LDADD = $(audio) $(LDADD)
CLEANFILES = $(EXTRA_PROGRAMS) *.exe gmon.out
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
PROGRAMS = $(bin_PROGRAMS)
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
CPPFLAGS = -I/usr/local/include -I/usr/sfw/include -I/opt/sfw/include -I/usr/local/kde/include
LDFLAGS = -L/usr/local/lib -L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/kde/lib
LIBS = -lm
madtime_OBJECTS = version.o madtime.o
madtime_LDADD = $(LDADD)
madtime_DEPENDENCIES = libmad/libmad.la
madtime_LDFLAGS =
minimad_OBJECTS = minimad.o
minimad_LDADD = $(LDADD)
minimad_DEPENDENCIES = libmad/libmad.la
minimad_LDFLAGS =
madmix_OBJECTS = version.o madmix.o audio.o audio_cdda.o audio_aiff.o \
audio_wave.o audio_snd.o audio_raw.o audio_null.o
madmix_LDFLAGS =
mad123_OBJECTS = mad123.o
mad123_LDADD = $(LDADD)
mad123_DEPENDENCIES = libmad/libmad.la
mad123_LDFLAGS =
madplay_OBJECTS = version.o audio.o audio_cdda.o audio_aiff.o \
audio_wave.o audio_snd.o audio_raw.o audio_null.o madplay.o resample.o \
filter.o equalizer.o xing.o player.o getopt.o getopt1.o
madplay_LDFLAGS =
SCRIPTS = $(bin_SCRIPTS)
CFLAGS = -xtarget=ultra -xarch=v8plusa -fast
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
man1dir = $(mandir)/man1
MANS = $(man_MANS)
NROFF = nroff
DIST_COMMON = README ./stamp-h.in ABOUT-NLS COPYING INSTALL Makefile.am \
Makefile.in TODO acconfig.h acinclude.m4 aclocal.m4 config.guess \
config.h.in config.sub configure configure.in install-sh ltconfig \
ltmain.sh missing mkinstalldirs strcasecmp.c strncasecmp.c
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
SOURCES = $(madtime_SOURCES) $(minimad_SOURCES) $(madmix_SOURCES) $(EXTRA_madmix_SOURCES) $(mad123_SOURCES) $(madplay_SOURCES) $(EXTRA_madplay_SOURCES)
OBJECTS = $(madtime_OBJECTS) $(minimad_OBJECTS) $(madmix_OBJECTS) $(mad123_OBJECTS) $(madplay_OBJECTS)
all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
$(ACLOCAL_M4): configure.in acinclude.m4
cd $(srcdir) && $(ACLOCAL)
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF)
config.h: stamp-h
@if test ! -f $@; then \
rm -f stamp-h; \
$(MAKE) stamp-h; \
else :; fi
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
$(SHELL) ./config.status
@echo timestamp > stamp-h 2> /dev/null
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
@if test ! -f $@; then \
rm -f $(srcdir)/stamp-h.in; \
$(MAKE) $(srcdir)/stamp-h.in; \
else :; fi
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
cd $(top_srcdir) && $(AUTOHEADER)
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
mostlyclean-hdr:
clean-hdr:
distclean-hdr:
-rm -f config.h
maintainer-clean-hdr:
mostlyclean-binPROGRAMS:
clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
distclean-binPROGRAMS:
maintainer-clean-binPROGRAMS:
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_PROGRAMS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
else :; fi; \
done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
list='$(bin_PROGRAMS)'; for p in $$list; do \
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
done
.c.o:
$(COMPILE) -c $<
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
mostlyclean-compile:
-rm -f *.o core *.core
clean-compile:
distclean-compile:
-rm -f *.tab.c
maintainer-clean-compile:
.c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.s.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.S.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
maintainer-clean-libtool:
madtime: $(madtime_OBJECTS) $(madtime_DEPENDENCIES)
@rm -f madtime
$(LINK) $(madtime_LDFLAGS) $(madtime_OBJECTS) $(madtime_LDADD) $(LIBS)
minimad: $(minimad_OBJECTS) $(minimad_DEPENDENCIES)
@rm -f minimad
$(LINK) $(minimad_LDFLAGS) $(minimad_OBJECTS) $(minimad_LDADD) $(LIBS)
madmix: $(madmix_OBJECTS) $(madmix_DEPENDENCIES)
@rm -f madmix
$(LINK) $(madmix_LDFLAGS) $(madmix_OBJECTS) $(madmix_LDADD) $(LIBS)
mad123: $(mad123_OBJECTS) $(mad123_DEPENDENCIES)
@rm -f mad123
$(LINK) $(mad123_LDFLAGS) $(mad123_OBJECTS) $(mad123_LDADD) $(LIBS)
madplay: $(madplay_OBJECTS) $(madplay_DEPENDENCIES)
@rm -f madplay
$(LINK) $(madplay_LDFLAGS) $(madplay_OBJECTS) $(madplay_LDADD) $(LIBS)
install-binSCRIPTS: $(bin_SCRIPTS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir)
@list='$(bin_SCRIPTS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
else if test -f $(srcdir)/$$p; then \
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
else :; fi; fi; \
done
uninstall-binSCRIPTS:
@$(NORMAL_UNINSTALL)
list='$(bin_SCRIPTS)'; for p in $$list; do \
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
done
install-man1:
$(mkinstalldirs) $(DESTDIR)$(man1dir)
@list='$(man1_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
else file=$$i; fi; \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
done
uninstall-man1:
@list='$(man1_MANS)'; \
l2='$(man_MANS)'; for i in $$l2; do \
case "$$i" in \
*.1*) list="$$list $$i" ;; \
esac; \
done; \
for i in $$list; do \
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
rm -f $(DESTDIR)$(man1dir)/$$inst; \
done
install-man: $(MANS)
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-man1
uninstall-man:
@$(NORMAL_UNINSTALL)
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive \
check-recursive installcheck-recursive info-recursive dvi-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
@set fnord $(MAKEFLAGS); amf=$$2; \
dot_seen=no; \
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
rev="$$subdir $$rev"; \
test "$$subdir" = "." && dot_seen=yes; \
done; \
test "$$dot_seen" = "no" && rev=". $$rev"; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
mostlyclean-tags:
clean-tags:
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
# This target untars the dist file and tries a VPATH configuration. Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
-rm -rf $(distdir)
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
dc_install_base=`cd $(distdir)/=inst && pwd`; \
cd $(distdir)/=build \
&& ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
&& $(MAKE) $(AM_MAKEFLAGS) \
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
&& $(MAKE) $(AM_MAKEFLAGS) check \
&& $(MAKE) $(AM_MAKEFLAGS) install \
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
&& $(MAKE) $(AM_MAKEFLAGS) dist
-rm -rf $(distdir)
@banner="$(distdir).tar.gz is ready for distribution"; \
dashes=`echo "$$banner" | sed s/./=/g`; \
echo "$$dashes"; \
echo "$$banner"; \
echo "$$dashes"
dist: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
dist-all: distdir
-chmod -R a+r $(distdir)
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-rm -rf $(distdir)
distdir: $(DISTFILES)
-rm -rf $(distdir)
mkdir $(distdir)
-chmod 777 $(distdir)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
for subdir in $(DIST_SUBDIRS); do \
if test "$$subdir" = .; then :; else \
test -d $(distdir)/$$subdir \
|| mkdir $(distdir)/$$subdir \
|| exit 1; \
chmod 777 $(distdir)/$$subdir; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|| exit 1; \
fi; \
done
info-am:
info: info-recursive
dvi-am:
dvi: dvi-recursive
check-am: all-am
check: check-recursive
installcheck-am:
installcheck: installcheck-recursive
all-recursive-am: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
install-exec-am: install-binPROGRAMS install-binSCRIPTS
install-exec: install-exec-recursive
install-data-am: install-man
install-data: install-data-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-recursive
uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man
uninstall: uninstall-recursive
all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) config.h
all-redirect: all-recursive-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(bindir) \
$(DESTDIR)$(mandir)/man1
mostlyclean-generic:
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
mostlyclean-compile mostlyclean-libtool \
mostlyclean-tags mostlyclean-generic
mostlyclean: mostlyclean-recursive
clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-libtool \
clean-tags clean-generic mostlyclean-am
clean: clean-recursive
distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
distclean-libtool distclean-tags distclean-generic \
clean-am
-rm -f libtool
distclean: distclean-recursive
-rm -f config.status
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
maintainer-clean-compile maintainer-clean-libtool \
maintainer-clean-tags maintainer-clean-generic \
distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-recursive
-rm -f config.status
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
clean-libtool maintainer-clean-libtool uninstall-binSCRIPTS \
install-binSCRIPTS install-man1 uninstall-man1 install-man \
uninstall-man install-data-recursive uninstall-data-recursive \
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
uninstalldirs-recursive all-recursive check-recursive \
installcheck-recursive info-recursive dvi-recursive \
mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
install-exec-am install-exec install-data-am install-data install-am \
install uninstall-am uninstall all-redirect all-am all installdirs-am \
installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
profile: madplay gmon.out
gprof madplay | less
gmon.out: madplay test/profile.mpg
./madplay -vo pcm:/dev/null test/profile.mpg || rm -f gmon.out
.c.s:
$(COMPILE) -S $<
again: clean all
.PHONY: profile again
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: