diff src/mdbtools.mk @ 3013:bcc26ffe9a0f

use variable for --host and --build configure arguments
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 12:40:32 -0400
parents 100e618349f7
children 951da75fd09c
line wrap: on
line diff
--- a/src/mdbtools.mk	Sun Jun 02 10:31:04 2013 -0400
+++ b/src/mdbtools.mk	Sun Jun 02 12:40:32 2013 -0400
@@ -21,8 +21,7 @@
     '$(SED)' -i 's/libtooloze/libtoolize/g;' '$(1)/autogen.sh'
     cd '$(1)' && NOCONFIGURE=1 ./autogen.sh
     cd '$(1)' && ./configure \
-        --host='$(TARGET)' \
-        --build="`config.guess`" \
+        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
         $(ENABLE_SHARED_OR_STATIC) \
         --prefix='$(HOST_PREFIX)' \
         PKG_CONFIG='$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-pkg-config'