From ebfe2e3004493e20c1bc732359d6025ad8f2ea3a Mon Sep 17 00:00:00 2001 From: Stan Seibert <volsung@xiph.org> Date: Tue, 21 Aug 2001 03:34:19 +0000 Subject: [PATCH] Changed way plugin directory AO_PLUGIN_PATH is defined so that build commands like "make debug" (which switch the CFLAGS) will still work. git-svn-id: http://svn.xiph.org/trunk/ao@1902 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- configure.in | 2 -- src/Makefile.am | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 46b8a8a..7dc2f72 100644 --- a/configure.in +++ b/configure.in @@ -202,6 +202,4 @@ AM_CONDITIONAL(HAVE_IRIX,test "x$have_irix" = xyes) AM_CONDITIONAL(HAVE_SOLARIS,test "x$have_solaris" = xyes) -CFLAGS="$CFLAGS -DAO_PLUGIN_PATH=\\\"$plugindir\\\"" - AC_OUTPUT(Makefile src/Makefile doc/Makefile include/Makefile include/ao/Makefile include/ao/os_types.h src/plugins/Makefile src/plugins/esd/Makefile src/plugins/oss/Makefile src/plugins/alsa/Makefile src/plugins/sun/Makefile src/plugins/irix/Makefile src/plugins/arts/Makefile debian/Makefile) diff --git a/src/Makefile.am b/src/Makefile.am index 68b829c..57badb0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = plugins -INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include +INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/include -DAO_PLUGIN_PATH=\"@plugindir@\" lib_LTLIBRARIES = libao.la -- GitLab