comparison configure.in @ 123:efb1c1ae2ba8

- reimplemented xtract_spectral_variance() xtract_spectral_skewness() and xtract_spectral_kurtosis() using correct maths - removed xtract_spectral_average_deviation()
author Jamie Bullock <jamie@postlude.co.uk>
date Wed, 30 Mar 2011 10:51:39 +0000
parents 8c8b508dcc95
children 0d49e1502159
comparison
equal deleted inserted replaced
122:571c53e87dbd 123:efb1c1ae2ba8
2 # Increment for major API changes, release status changes 2 # Increment for major API changes, release status changes
3 m4_define(libxtract_major_version, 0) 3 m4_define(libxtract_major_version, 0)
4 # Increment for feature additions and enhancements 4 # Increment for feature additions and enhancements
5 m4_define(libxtract_minor_version, 6) 5 m4_define(libxtract_minor_version, 6)
6 # Increment for fixes 6 # Increment for fixes
7 m4_define(libxtract_fix_version, 1) 7 m4_define(libxtract_fix_version, 4)
8 # Development status 8 # Development status
9 m4_define(libIntegra_dev_status, [beta]) 9 m4_define(libIntegra_dev_status, [beta])
10 10
11 m4_define(libxtract_version, libxtract_major_version.libxtract_minor_version.libxtract_fix_version) 11 m4_define(libxtract_version, libxtract_major_version.libxtract_minor_version.libxtract_fix_version)
12 12
13 PACKAGE=libxtract 13 PACKAGE=libxtract
14 14
15 AC_INIT(libxtract, libxtract_version, libxtract-devel@lists.sourceforge.net) 15 AC_INIT([libxtract], [libxtract_version], [libxtract-devel@lists.sourceforge.net])
16 AC_DEFINE(LIBXTRACT_VERSION, libxtract_version, [LibXtract Version]) 16 AC_DEFINE(LIBXTRACT_VERSION, libxtract_version, [LibXtract Version])
17 AM_INIT_AUTOMAKE($PACKAGE, $LIBXTRACT_VERSION) 17 dnl AM_INIT_AUTOMAKE($PACKAGE, $LIBXTRACT_VERSION)
18 AM_INIT_AUTOMAKE(1.6)
18 AM_CONFIG_HEADER(config.h) 19 AM_CONFIG_HEADER(config.h)
20 AC_CONFIG_MACRO_DIR([m4])
19 AC_PROG_CC 21 AC_PROG_CC
20 AC_PROG_LIBTOOL 22 AC_PROG_LIBTOOL
21 AC_PROG_INSTALL 23 AC_PROG_INSTALL
22 AC_C_BIGENDIAN 24 AC_C_BIGENDIAN
23 AC_PATH_PROG(PKG_CONFIG, pkg-config, no) 25 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
238 dnl AC_SUBST(PD_LDFLAGS,"$PD_LDFLAGS -shared") 240 dnl AC_SUBST(PD_LDFLAGS,"$PD_LDFLAGS -shared")
239 dnl pd_ldflags="$PD_LDFLAGS -L/usr/local/lib -ldl" 241 dnl pd_ldflags="$PD_LDFLAGS -L/usr/local/lib -ldl"
240 if test -z "$GCC"; then 242 if test -z "$GCC"; then
241 case $host in 243 case $host in
242 *-*-irix*) 244 *-*-irix*)
243 dnl If we're on IRIX, we wanna use cc even if gcc 245 dnl If we're on IRIX, we wanna use cc even if gcc
244 dnl is there (unless the user has overriden us)... 246 dnl is there (unless the user has overriden us)...
245 if test -z "$CC"; then 247 if test -z "$CC"; then
246 CC=cc 248 CC=cc
247 fi 249 fi
248 ;; 250 ;;
249 sparc-sun-solaris*) 251 sparc-sun-solaris*)
250 PD_CFLAGS="-xO4 -fast -w -fsimple -native -xcg92" 252 PD_CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
251 ;; 253 ;;
252 *) 254 *)
253 PD_CFLAGS="-O" 255 PD_CFLAGS="-O"
254 ;; 256 ;;
255 esac 257 esac
256 else 258 else
257 259
258 case $host in 260 case $host in
259 *86-*-linux*) 261 *86-*-linux*)
260 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused" 262 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused"
261 PD_LDFLAGS="$PD_LDFLAGS -shared -export_dynamic" 263 PD_LDFLAGS="$PD_LDFLAGS -shared"
262 dnl we could test for bad glibc here, but don't 264 dnl we could test for bad glibc here, but don't
263 PD_SUFFIX=pd_linux 265 PD_SUFFIX=pd_linux
264 ;; 266 ;;
265 powerpc-*-linux*) 267 powerpc-*-linux*)
266 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes" 268 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes"
267 PD_LDFLAGS="$PD_LDFLAGS -shared" 269 PD_LDFLAGS="$PD_LDFLAGS -shared"
268 PD_SUFFIX=pd_linux 270 PD_SUFFIX=pd_linux
269 ;; 271 ;;
270 *-*-linux*) 272 *-*-linux*)
271 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -fPIC" 273 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -fPIC"
272 PD_LDFLAGS="$PD_LDFLAGS -shared -export_dynamic" 274 PD_LDFLAGS="$PD_LDFLAGS -shared -export_dynamic"
273 PD_SUFFIX=pd_linux 275 PD_SUFFIX=pd_linux
274 ;; 276 ;;
275 sparc-sun-*) 277 sparc-sun-*)
276 echo "YOU HAVE A SPARC STATION, not setting any flags, not supported yet" 278 echo "YOU HAVE A SPARC STATION, not setting any flags, not supported yet"
277 ;; 279 ;;
278 *86-*-darwin*) 280 *86-*-darwin*)
279 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes" 281 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes"
280 PD_LDFLAGS="$PD_LDFLAGS -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -single_module" 282 PD_LDFLAGS="$PD_LDFLAGS -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -single_module"
281 PD_SUFFIX=pd_darwin 283 PD_SUFFIX=pd_darwin
282 ;; 284 ;;
283 *-*-darwin*) 285 *-*-darwin*)
284 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes" 286 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes"
285 PD_LDFLAGS="$PD_LDFLAGS -bundle -arch ppc -undefined suppress -flat_namespace" 287 PD_LDFLAGS="$PD_LDFLAGS -bundle -arch ppc -undefined suppress -flat_namespace"
286 PD_SUFFIX=pd_darwin 288 PD_SUFFIX=pd_darwin
287 ;; 289 ;;
288 290
289 *) 291 *)
290 dnl assume unix 292 dnl assume unix
291 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1" 293 PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O1"
292 PD_LDFLAGS="$PD_LDFLAGS -shared" 294 PD_LDFLAGS="$PD_LDFLAGS -shared"
293 PD_SUFFIX=pd_linux 295 PD_SUFFIX=pd_linux
294 ;; 296 ;;
295 esac 297 esac
296 fi 298 fi
297 299
298 PD_CFLAGS="$PD_CFLAGS -DPD" 300 PD_CFLAGS="$PD_CFLAGS -DPD"