Added
Link Here
|
1 |
--- configure.in.orig Sun Jul 14 20:42:42 2002 |
2 |
+++ configure.in Mon Sep 23 17:55:28 2002 |
3 |
@@ -23,13 +23,6 @@ |
4 |
|
5 |
dnl Supported --enable and --with options |
6 |
|
7 |
-AC_ARG_ENABLE( |
8 |
- debug, |
9 |
- [ --enable-debug Enable debugging [no]], |
10 |
- [CFLAGS="-pipe -Wall -O0 -g"], |
11 |
- [CPU=$(uname -m) |
12 |
- CFLAGS="-pipe -Wall -O3 -DNO_DEBUG -Wno-unused -mcpu=$CPU -march=$CPU -ffast-math -fomit-frame-pointer -fstrength-reduce -funroll-loops -fmove-all-movables -fPIC -DPIC"] |
13 |
-) |
14 |
|
15 |
AC_ARG_WITH( |
16 |
ladspa-prefix, |
17 |
@@ -80,7 +73,12 @@ |
18 |
AC_CHECK_FUNC(cos, [], [AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR( ** No cos function found)])]) |
19 |
AC_CHECK_FUNC(floorf, [], [AC_CHECK_LIB(m, floorf, [], [AC_MSG_ERROR( ** No floorf function found)])]) |
20 |
AC_CHECK_FUNC(powf, [], [AC_CHECK_LIB(m, powf, [], [AC_MSG_ERROR( ** No powf function found)])]) |
21 |
+AC_CHECK_FUNC(getopt_long,[], [AC_CHECK_LIB(gnugetopt, getopt_long, [], [AC_MSG_ERROR( ** No getopt_long function found)])]) |
22 |
|
23 |
+if test "$HAVE_LIBGNUGETOPT" != ""; then |
24 |
+ ac_save_LIBS="$LIBS" |
25 |
+ LIBS= "$ac_save_LIBS -lgnugetopt" |
26 |
+fi |
27 |
|
28 |
dnl Makefiles generated |
29 |
AC_OUTPUT(Makefile \ |