]> git.alsa-project.org Git - alsa-plugins.git/commitdiff
configure: add --with-alsaaddondir, add default config files for plugins
authorJaroslav Kysela <perex@perex.cz>
Wed, 4 Apr 2018 17:57:56 +0000 (19:57 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 5 Apr 2018 14:26:35 +0000 (16:26 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
27 files changed:
a52/60-a52-encoder.conf [new file with mode: 0644]
a52/Makefile.am
a52/pcm_a52.c
arcam-av/50-arcam-av-ctl.conf [new file with mode: 0644]
arcam-av/Makefile.am
configure.ac
jack/50-jack.conf [new file with mode: 0644]
jack/Makefile.am
maemo/98-maemo.conf [new file with mode: 0644]
maemo/Makefile.am
mix/60-upmix.conf [new file with mode: 0644]
mix/60-vdownmix.conf [new file with mode: 0644]
mix/Makefile.am
oss/50-oss.conf [new file with mode: 0644]
oss/Makefile.am
pph/10-speexrate.conf [new file with mode: 0644]
pph/Makefile.am
pulse/50-pulseaudio.conf
pulse/Makefile.am
rate-lavc/10-rate-lavc.conf [new file with mode: 0644]
rate-lavc/Makefile.am
rate/10-samplerate.conf [new file with mode: 0644]
rate/Makefile.am
speex/60-speex.conf [new file with mode: 0644]
speex/Makefile.am
usb_stream/98-usb-stream.conf [new file with mode: 0644]
usb_stream/Makefile.am

diff --git a/a52/60-a52-encoder.conf b/a52/60-a52-encoder.conf
new file mode 100644 (file)
index 0000000..346c94f
--- /dev/null
@@ -0,0 +1,38 @@
+pcm.a52 {
+       @args [ CARD SLAVE RATE BITRATE CHANNELS ]
+       @args.CARD {
+               type integer
+               default {
+                       @func refer
+                       name defaults.pcm.card
+               }
+       }
+       @args.SLAVE {
+               type string
+       }
+       @args.RATE {
+               type integer
+               default 48000
+       }
+       @args.BITRATE {
+               type integer
+               default 448
+       }
+       @args.CHANNELS {
+               type string
+               default 6
+       }
+       type a52
+       card $CARD
+       slavepcm $SLAVE
+       rate $RATE
+       bitrate $BITRATE
+       channels $CHANNELS
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+                description "Plugin to convert multichannel stream to A52 (AC3) bitstream"
+       }
+}
index 48567b45f8e21e35bea663e9fb2f01b115f6be28..cbc149738903d62270f855d1b3179b3f6152ca6b 100644 (file)
@@ -1,6 +1,10 @@
+EXTRA_DIST = 60-a52-encoder.conf
+
 asound_module_pcm_a52_LTLIBRARIES = libasound_module_pcm_a52.la
+asound_module_addon_DATA = 60-a52-encoder.conf
 
 asound_module_pcm_a52dir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ @AVCODEC_CFLAGS@ \
        -DAVCODEC_HEADER="@AVCODEC_HEADER@"
index 348d58f4ffffe107e3c2be6e68ebf673820d3566..155da3696a7a8225985bf6bd5e3e6606a19b3fdc 100644 (file)
@@ -937,7 +937,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(a52)
                goto error;
        }
 
-       if (! pcm_string) {
+       if (! pcm_string || pcm_string[0] == '\0') {
                snprintf(devstr, sizeof(devstr),
                         "iec958:{AES0 0x%x AES1 0x%x AES2 0x%x AES3 0x%x %s%s}",
                         IEC958_AES0_CON_EMPHASIS_NONE | IEC958_AES0_NONAUDIO |
diff --git a/arcam-av/50-arcam-av-ctl.conf b/arcam-av/50-arcam-av-ctl.conf
new file mode 100644 (file)
index 0000000..b76caa9
--- /dev/null
@@ -0,0 +1,16 @@
+ctl.arcam_av {
+       @args [ PORT ]
+       @args.PORT {
+               type string
+               default "/dev/ttyUSB0"
+       }
+       type arcam_av
+       port $PORT
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+               description "Arcam-AV Amplifier"
+       }
+}
index 5c7855fc07c6e094a008c755a498da34e2216875..4a54ccd6f3749cd472e8108d14c6bf4b1a058092 100644 (file)
@@ -1,6 +1,10 @@
+EXTRA_DIST = 50-arcam-av-ctl.conf
+
 asound_module_ctl_arcam_av_LTLIBRARIES = libasound_module_ctl_arcam_av.la
+asound_module_addon_DATA = 50-arcam-av-ctl.conf
 
 asound_module_ctl_arcam_avdir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@
 AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined
index ecc265b319b444a1e729ef0342e31d2fff5094b6..ae98caa92073f6f950fcd99124c9f248fb9c128a 100644 (file)
@@ -206,6 +206,18 @@ AC_DEFINE_UNQUOTED(ALSA_DATA_DIR, "$alsadatadir", [directory containing ALSA dat
 ALSA_DATA_DIR="$alsadatadir"
 AC_SUBST(ALSA_DATA_DIR)
 
+dnl ALSA add-on config directory
+AC_ARG_WITH(alsaaddondir,
+    AS_HELP_STRING([--with-alsaaddondir=dir],
+       [path where ALSA add-on config files are stored]),
+    alsaaddondir="$withval", alsaaddondir="")
+if test -z "$alsaaddondir"; then
+    alsaaddondir="/etc/alsa/conf.d"
+fi
+AC_DEFINE_UNQUOTED(ALSA_ADDON_DIR, "$alsaaddondir", [directory containing ALSA add-on config files])
+ALSA_ADDON_DIR="$alsaaddondir"
+AC_SUBST(ALSA_ADDON_DIR)
+
 SAVE_PLUGINS_VERSION
 
 AC_OUTPUT([
diff --git a/jack/50-jack.conf b/jack/50-jack.conf
new file mode 100644 (file)
index 0000000..d780dfc
--- /dev/null
@@ -0,0 +1,18 @@
+pcm.jack {
+       type jack
+       playback_ports {
+               0 alsa_pcm:playback_1
+               1 alsa_pcm:playback_2
+       }
+       capture_ports {
+               0 alsa_pcm:capture_1
+               1 alsa_pcm:capture_2
+       }
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+               description "JACK Audio Connection Kit"
+       }
+}
index f913cb6a9c23059db3c8c315173fa0841794ef9d..0a3d6aea56e53fc206b165643a8a41e1c93eb727 100644 (file)
@@ -1,6 +1,10 @@
+EXTRA_DIST = 50-jack.conf
+
 asound_module_pcm_jack_LTLIBRARIES = libasound_module_pcm_jack.la
+asound_module_addon_DATA = 50-jack.conf
 
 asound_module_pcm_jackdir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ @JACK_CFLAGS@
 AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED)
diff --git a/maemo/98-maemo.conf b/maemo/98-maemo.conf
new file mode 100644 (file)
index 0000000..a9ad6a0
--- /dev/null
@@ -0,0 +1,11 @@
+pcm.!default {
+       type alsa_dsp
+       playback_device_file [ "/dev/dsptask/pcm2" ]
+       recording_device_file [ "/dev/dsptask/pcm_rec" ]
+}
+
+ctl.!default {
+       type dsp_ctl
+       playback_devices [ "/dev/dsptask/pcm2" ]
+       recording_devices [ "/dev/dsptask/pcm_rec" ]
+}
index 268478159e813b93e6992f0fe9f6f14f230194a2..aca481d8879e91d2f634b4b6ae8171cfa8cf360b 100644 (file)
@@ -1,8 +1,12 @@
+EXTRA_DIST = 98-maemo.conf
+
 asound_module_pcm_alsa_dsp_LTLIBRARIES = libasound_module_pcm_alsa_dsp.la
 asound_module_ctl_dsp_ctl_LTLIBRARIES = libasound_module_ctl_dsp_ctl.la
+asound_module_addon_DATA = 98-maemo.conf
 
 asound_module_pcm_alsa_dspdir = @ALSA_PLUGIN_DIR@
 asound_module_ctl_dsp_ctldir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -O2 @ALSA_CFLAGS@ $(DBUS_CFLAGS)
 AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED)
diff --git a/mix/60-upmix.conf b/mix/60-upmix.conf
new file mode 100644 (file)
index 0000000..028cfe1
--- /dev/null
@@ -0,0 +1,26 @@
+pcm.upmix {
+       @args [ SLAVE CHANNELS DELAY ]
+       @args.SLAVE {
+               type string
+               default "plug:hw"
+       }
+       @args.CHANNELS {
+               type integer
+               default 6
+       }
+       @args.DELAY {
+               type integer
+               default 0
+       }
+       type upmix
+       channels $CHANNELS
+       delay $DELAY
+       slave.pcm $SLAVE
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+                description "Plugin for channel upmix (4,6,8)"
+       }
+}
diff --git a/mix/60-vdownmix.conf b/mix/60-vdownmix.conf
new file mode 100644 (file)
index 0000000..32e9c56
--- /dev/null
@@ -0,0 +1,24 @@
+pcm.vdownmix {
+       @args [ SLAVE CHANNELS DELAY ]
+       @args.SLAVE {
+               type string
+               default "plug:hw"
+       }
+       @args.CHANNELS {
+               type integer
+               default 6
+       }
+       @args.DELAY {
+               type integer
+               default 0
+       }
+       type vdownmix
+       slave.pcm $SLAVE
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+                description "Plugin for channel downmix (stereo) with a simple spacialization"
+       }
+}
index e31839a1ae24aa5bc7cae31cf5c143ba3276dce5..710606cc6d7699ace5c457c52958fa12524bb40e 100644 (file)
@@ -1,8 +1,12 @@
+EXTRA_DIST = 60-upmix.conf 60-vdownmix.conf
+
 asound_module_pcm_upmix_LTLIBRARIES = libasound_module_pcm_upmix.la
 asound_module_pcm_vdownmix_LTLIBRARIES = libasound_module_pcm_vdownmix.la
+asound_module_addon_DATA = 60-upmix.conf 60-vdownmix.conf
 
 asound_module_pcm_upmixdir = @ALSA_PLUGIN_DIR@
 asound_module_pcm_vdownmixdir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@
 AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED)
@@ -11,4 +15,3 @@ libasound_module_pcm_upmix_la_SOURCES = pcm_upmix.c
 libasound_module_pcm_upmix_la_LIBADD = @ALSA_LIBS@
 libasound_module_pcm_vdownmix_la_SOURCES = pcm_vdownmix.c
 libasound_module_pcm_vdownmix_la_LIBADD = @ALSA_LIBS@
-
diff --git a/oss/50-oss.conf b/oss/50-oss.conf
new file mode 100644 (file)
index 0000000..5b2817b
--- /dev/null
@@ -0,0 +1,26 @@
+pcm.oss {
+       @args [ DEVICE ]
+       @args.DEVICE {
+               type string
+               default "/dev/dsp"
+       }
+       type oss
+       port $DEVICE
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+               description "Open Sound System"
+       }
+}
+
+ctl.oss {
+       @args [ DEVICE ]
+       @args.DEVICE {
+               type string
+               default "/dev/mixer"
+       }
+       type oss
+       device $DEVICE
+}
index 302538bcbbe76721c9be774e37518d5fb75ea0c0..df83d20fc580a716988fa05dd525c776e7d3657d 100644 (file)
@@ -1,8 +1,12 @@
+EXTRA_DIST = 50-oss.conf
+
 asound_module_pcm_oss_LTLIBRARIES = libasound_module_pcm_oss.la
 asound_module_ctl_oss_LTLIBRARIES = libasound_module_ctl_oss.la
+asound_module_addon_DATA = 50-oss.conf
 
 asound_module_pcm_ossdir = @ALSA_PLUGIN_DIR@
 asound_module_ctl_ossdir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@
 AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED)
diff --git a/pph/10-speexrate.conf b/pph/10-speexrate.conf
new file mode 100644 (file)
index 0000000..1d9eae9
--- /dev/null
@@ -0,0 +1,28 @@
+pcm.speexrate {
+       @args [ SLAVE RATE CONVERTER ]
+       @args.SLAVE {
+               type string
+               default "plug:hw"
+       }
+       @args.RATE {
+               type integer
+               default 48000
+       }
+       @args.CONVERTER {
+               type string
+               default "speexrate"
+       }
+       type rate
+       converter $CONVERTER
+       slave {
+               pcm $SLAVE
+               rate $RATE
+       }
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+                description "Rate Converter Plugin Using Speex Resampler"
+       }
+}
index 551e5bd6ab23d87adb92942e41e5f9243729743e..abb950b7fd4452d1b7587cbb78bed8f8cf8c98bb 100644 (file)
@@ -1,6 +1,10 @@
+EXTRA_DIST = 10-speexrate.conf
+
 asound_module_rate_speexrate_LTLIBRARIES = libasound_module_rate_speexrate.la
+asound_module_addon_DATA = 10-speexrate.conf
 
 asound_module_rate_speexratedir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -DVAR_ARRAYS -Wall -g @ALSA_CFLAGS@
 AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED)
index dd85dab835168bde84d7b8a3be78fb896ece8ea8..62da207af9ca2b36b2d2ab78a99656f8506edf7c 100644 (file)
@@ -1,13 +1,16 @@
 # Add a specific named PulseAudio pcm and ctl (typically useful for testing)
 
 pcm.pulse {
-    type pulse
-    hint {
-        show on
-        description "PulseAudio Sound Server"
-    }
+       type pulse
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+               description "PulseAudio Sound Server"
+       }
 }
 
 ctl.pulse {
-    type pulse
+       type pulse
 }
index a5550b9ec95d08070af6586bfe532de5bdcc0a17..835808c1c4a9c026cbce3cea6312501fd6ce1a63 100644 (file)
@@ -3,12 +3,12 @@ EXTRA_DIST = 50-pulseaudio.conf 99-pulseaudio-default.conf.example
 asound_module_pcm_LTLIBRARIES = libasound_module_pcm_pulse.la
 asound_module_ctl_LTLIBRARIES = libasound_module_ctl_pulse.la
 asound_module_conf_LTLIBRARIES = libasound_module_conf_pulse.la
-asound_module_data_DATA = 50-pulseaudio.conf 99-pulseaudio-default.conf.example
+asound_module_addon_DATA = 50-pulseaudio.conf 99-pulseaudio-default.conf.example
 
 asound_module_pcmdir = @ALSA_PLUGIN_DIR@
 asound_module_ctldir = @ALSA_PLUGIN_DIR@
 asound_module_confdir = @ALSA_PLUGIN_DIR@
-asound_module_datadir = @ALSA_DATA_DIR@/alsa.conf.d
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ $(PTHREAD_CFLAGS) $(pulseaudio_CFLAGS) -D_GNU_SOURCE
 AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED)
diff --git a/rate-lavc/10-rate-lavc.conf b/rate-lavc/10-rate-lavc.conf
new file mode 100644 (file)
index 0000000..bab1694
--- /dev/null
@@ -0,0 +1,28 @@
+pcm.lavcrate {
+       @args [ SLAVE RATE CONVERTER ]
+       @args.SLAVE {
+               type string
+               default "plug:hw"
+       }
+       @args.RATE {
+               type integer
+               default 48000
+       }
+       @args.CONVERTER {
+               type string
+               default "lavcrate"
+       }
+       type rate
+       converter $CONVERTER
+       slave {
+               pcm $SLAVE
+               rate $RATE
+       }
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+                description "Rate Converter Plugin Using AVC Library"
+       }
+}
index 5cffd446a85d348f991f075d3f27b204ca560b8f..5f66472d5067cae3e19ee7198a353465ce130cd8 100644 (file)
@@ -1,6 +1,10 @@
+EXTRA_DIST = 10-rate-lavc.conf
+
 asound_module_rate_lavcrate_LTLIBRARIES = libasound_module_rate_lavcrate.la
+asound_module_addon_DATA = 10-rate-lavc.conf
 
 asound_module_rate_lavcratedir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ @AVCODEC_CFLAGS@ \
        -DAVCODEC_HEADER="@AVCODEC_HEADER@"
diff --git a/rate/10-samplerate.conf b/rate/10-samplerate.conf
new file mode 100644 (file)
index 0000000..0d2e604
--- /dev/null
@@ -0,0 +1,28 @@
+pcm.samplerate {
+       @args [ SLAVE RATE CONVERTER ]
+       @args.SLAVE {
+               type string
+               default "plug:hw"
+       }
+       @args.RATE {
+               type integer
+               default 48000
+       }
+       @args.CONVERTER {
+               type string
+               default "samplerate"
+       }
+       type rate
+       converter $CONVERTER
+       slave {
+               pcm $SLAVE
+               rate $RATE
+       }
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+                description "Rate Converter Plugin Using Samplerate Library"
+       }
+}
index 0605bfdbdce623829dd733e6363e31f97a3fb596..25014d8eb3a808afd4511a85a3f8386798dfc96d 100644 (file)
@@ -1,6 +1,10 @@
+EXTRA_DIST = 10-samplerate.conf
+
 asound_module_rate_samplerate_LTLIBRARIES = libasound_module_rate_samplerate.la
+asound_module_addon_DATA = 10-samplerate.conf
 
 asound_module_rate_sampleratedir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ $(samplerate_CFLAGS)
 AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED)
diff --git a/speex/60-speex.conf b/speex/60-speex.conf
new file mode 100644 (file)
index 0000000..bf2ce95
--- /dev/null
@@ -0,0 +1,63 @@
+pcm.speex {
+       @args [ SLAVE AGC AGC_LEVEL DENOISE ECHO
+                DEREVERB DEREVERB_DECAY DEREVERB_LEVEL
+                FRAMES FILTER_LENGTH ]
+       @args.SLAVE {
+               type string
+               default "plug:hw"
+       }
+       @args.AGC {
+               type string
+               default off
+       }
+       @args.AGC_LEVEL {
+               type integer
+               default 8000
+       }
+       @args.DENOISE {
+               type string
+               default on
+       }
+       @args.ECHO {
+               type string
+               default off
+       }
+       @args.DEREVERB {
+               type string
+               default off
+       }
+       @args.DEREVERB_DECAY {
+               type real
+               default 0
+       }
+       @args.DEREVERB_LEVEL {
+               type real
+               default 0
+       }
+       @args.FRAMES {
+               type integer
+               default 64
+       }
+       @args.FILTER_LENGTH {
+               type integer
+               default 256
+       }
+       type speex
+       agc $AGC
+       agc_level $AGC_LEVEL
+       denoise $DENOISE
+       echo $ECHO
+       dereverb $DEREVERB
+       dereverb_decay $DEREVERB_DECAY
+       dereverb_level $DEREVERB_LEVEL
+       frames $FRAMES
+       filter_length $FILTER_LENGTH
+       slave.pcm $SLAVE
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+                description "Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)"
+       }
+}
index 7d841902078d69af816a21a42e4f4627af9a6a55..789195442ff902a2ffe32953076d9ac14f787231 100644 (file)
@@ -1,6 +1,10 @@
+EXTRA_DIST = 60-speex.conf
+
 asound_module_pcm_speex_LTLIBRARIES = libasound_module_pcm_speex.la
+asound_module_addon_DATA = 60-speex.conf
 
 asound_module_pcm_speexdir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ @speexdsp_CFLAGS@
 AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED)
diff --git a/usb_stream/98-usb-stream.conf b/usb_stream/98-usb-stream.conf
new file mode 100644 (file)
index 0000000..2efc95f
--- /dev/null
@@ -0,0 +1,27 @@
+pcm.usbstream {
+       @args [ CARD RATE PERIOD_SIZE ]
+       @args.CARD {
+               type string
+               default {
+                       func refer
+                       name defaults.pcm.card
+               }
+       }
+       @args.RATE {
+               type integer
+       }
+       @args.PERIOD_SIZE {
+               type integer
+       }
+       type usb_stream
+       card $CARD
+       rate $RATE
+       period_size $PERIOD_SIZE
+       hint {
+               show {
+                       @func refer
+                       name defaults.namehint.basic
+               }
+                description "USB Stream Output"
+       }
+}
index 50a98a07a1edf948e994830dc61dc15de495cfb7..b606d3ddce10a5c90216cef07f97121c34e5448d 100644 (file)
@@ -1,6 +1,10 @@
+EXTRA_DIST = 98-usb-stream.conf
+
 asound_module_pcm_usb_stream_LTLIBRARIES = libasound_module_pcm_usb_stream.la
+asound_module_addon_DATA = 98-usb-stream.conf
 
 asound_module_pcm_usb_streamdir = @ALSA_PLUGIN_DIR@
+asound_module_addondir = @ALSA_ADDON_DIR@
 
 AM_CFLAGS = -Wall -g @ALSA_CFLAGS@
 AM_LDFLAGS = -module -avoid-version -export-dynamic $(LDFLAGS_NOUNDEFINED)