Mercurial > audlegacy
comparison configure.ac @ 3674:8b3f1801b9d6
Automated merge with ssh://hg.atheme.org//hg/audacious
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 30 Sep 2007 15:29:07 +0300 |
parents | e83412963c51 |
children | 6bec10770466 |
comparison
equal
deleted
inserted
replaced
3673:52745af33257 | 3674:8b3f1801b9d6 |
---|---|
1 | |
1 dnl Process this file with autoconf to produce a configure script. | 2 dnl Process this file with autoconf to produce a configure script. |
2 AC_INIT([audacious], [1.4.0], [bugs+audacious@atheme.org]) | 3 AC_INIT([audacious], [1.4.0], [bugs+audacious@atheme.org]) |
3 AC_PREREQ([2.59]) | 4 AC_PREREQ([2.59]) |
4 | 5 |
5 AC_CANONICAL_HOST | 6 AC_CANONICAL_HOST |
152 | 153 |
153 dnl plugin stuff | 154 dnl plugin stuff |
154 dnl ======================== | 155 dnl ======================== |
155 | 156 |
156 dnl Ok, first we find out what flags we need to use. | 157 dnl Ok, first we find out what flags we need to use. |
157 AM_SHARED_LIB | 158 BUILDSYS_PROG_IMPLIB |
159 BUILDSYS_SHARED_LIB | |
160 if test x"$PROG_IMPLIB_NEEDED" = x"yes"; then | |
161 IMPLIB_LIBS='-L../audacious -laudacious.exe' | |
162 else | |
163 IMPLIB_LIBS='' | |
164 fi | |
165 AC_SUBST(IMPLIB_LIBS) | |
158 | 166 |
159 dnl XXX | 167 dnl XXX |
160 SHARED_SUFFIX=$PLUGIN_SUFFIX | 168 SHARED_SUFFIX=$PLUGIN_SUFFIX |
161 AC_SUBST(SHARED_SUFFIX) | 169 AC_SUBST(SHARED_SUFFIX) |
162 AC_DEFINE_UNQUOTED(SHARED_SUFFIX, "${SHARED_SUFFIX}", | 170 AC_DEFINE_UNQUOTED(SHARED_SUFFIX, "${SHARED_SUFFIX}", |
388 AC_SUBST(VISUALIZATION_PLUGIN_DIR) | 396 AC_SUBST(VISUALIZATION_PLUGIN_DIR) |
389 AC_SUBST(CONTAINER_PLUGIN_DIR) | 397 AC_SUBST(CONTAINER_PLUGIN_DIR) |
390 AC_SUBST(TRANSPORT_PLUGIN_DIR) | 398 AC_SUBST(TRANSPORT_PLUGIN_DIR) |
391 AC_SUBST(pluginsubs) | 399 AC_SUBST(pluginsubs) |
392 | 400 |
401 dnl setup rpath if prefix or exec-prefix is specified | |
402 if test "$prefix" != "NONE" || test "$exec_prefix" != "NONE" ; then | |
403 test x"`$CC -dM -E - </dev/null | grep __ELF__`" != x"" && RPATH="-Wl,-rpath $libdir" | |
404 fi | |
405 | |
393 dnl XXX Work around some autoconf bugs. | 406 dnl XXX Work around some autoconf bugs. |
394 if test "$prefix" = "NONE"; then | 407 if test "$prefix" = "NONE"; then |
395 prefix="${ac_default_prefix}" | 408 prefix="${ac_default_prefix}" |
396 fi | 409 fi |
397 | 410 |
422 | 435 |
423 if test "$have_xspf" = "yes"; then | 436 if test "$have_xspf" = "yes"; then |
424 AC_DEFINE(HAVE_XSPF_PLAYLIST, 1, [Define if XSPF playlists are available.]) | 437 AC_DEFINE(HAVE_XSPF_PLAYLIST, 1, [Define if XSPF playlists are available.]) |
425 fi | 438 fi |
426 | 439 |
427 # Use -rpath? | 440 dnl disable rpath |
428 AC_ARG_ENABLE(rpath, | 441 AC_ARG_ENABLE(rpath, |
429 [ --enable-rpath enable use of -rpath on ELF systems (default=yes)], [enable_rpath=$enableval], [enable_rpath=no]) | 442 [ --disable-rpath force to disable -rpath. (-rpath is required and automatically appended when --prefix or --exec-prefix is specified on ELF systems.)], [enable_rpath=$enableval], [enable_rpath=yes]) |
430 if test "x$enable_rpath" = "xyes"; then | 443 if test "x$enable_rpath" = "xyes"; then |
431 test x"`$CC -dM -E - </dev/null | grep __ELF__`" != x"" && LDFLAGS="$LDFLAGS -Wl,-rpath $libdir" | 444 LDFLAGS="$LDFLAGS $RPATH" |
432 fi | 445 fi |
433 | 446 |
434 AC_SUBST(beepdir) | 447 AC_SUBST(beepdir) |
435 AC_SUBST(plugindir) | 448 AC_SUBST(plugindir) |
436 | 449 |
439 audclient.pc | 452 audclient.pc |
440 buildsys.mk | 453 buildsys.mk |
441 extra.mk | 454 extra.mk |
442 man/audtool.1 | 455 man/audtool.1 |
443 man/audacious.1 | 456 man/audacious.1 |
444 src/audacious/audacious.desktop | 457 applications/audacious.desktop |
445 po/Makefile.in | 458 po/Makefile.in |
446 ]) | 459 ]) |
447 | 460 |
448 AC_OUTPUT | 461 AC_OUTPUT |
449 | 462 |