diff --git a/libs/apr-util/configure.gnu b/libs/apr-util/configure.gnu index a4eb02af2a..72f3dccb09 100644 --- a/libs/apr-util/configure.gnu +++ b/libs/apr-util/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --with-apr=../apr --disable-shared --with-pic --without-sqlite2 --without-sqlite3 --with-expat=builtin +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --with-apr=../apr --disable-shared --with-pic --without-sqlite2 --without-sqlite3 --with-expat=builtin diff --git a/libs/broadvoice/configure.gnu b/libs/broadvoice/configure.gnu index a22f176e74..c78238de46 100644 --- a/libs/broadvoice/configure.gnu +++ b/libs/broadvoice/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic diff --git a/libs/curl/configure.gnu b/libs/curl/configure.gnu index 3bdf0f9da9..9acc7695e2 100644 --- a/libs/curl/configure.gnu +++ b/libs/curl/configure.gnu @@ -1,2 +1,4 @@ #! /bin/sh -./configure "$@" --without-libidn --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --without-libidn --disable-shared --with-pic + diff --git a/libs/iksemel/configure.gnu b/libs/iksemel/configure.gnu index f719542de6..c78238de46 100644 --- a/libs/iksemel/configure.gnu +++ b/libs/iksemel/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic diff --git a/libs/ilbc/configure.gnu b/libs/ilbc/configure.gnu index 2e805f6844..194fca1f63 100644 --- a/libs/ilbc/configure.gnu +++ b/libs/ilbc/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --with-pic --disable-shared +srcpath=$(dirname $0) +$srcpath/configure "$@" --with-pic --disable-shared diff --git a/libs/js/configure.gnu b/libs/js/configure.gnu index 0f94c1b2dc..8ac095bc0a 100644 --- a/libs/js/configure.gnu +++ b/libs/js/configure.gnu @@ -1,2 +1,4 @@ #! /bin/sh -./configure "$@" --with-pic --with-nspr=yes +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --with-pic --with-nspr=yes + diff --git a/libs/js/nsprpub/configure.gnu b/libs/js/nsprpub/configure.gnu index d42e604b80..002d5eab53 100644 --- a/libs/js/nsprpub/configure.gnu +++ b/libs/js/nsprpub/configure.gnu @@ -1,2 +1,4 @@ #! /bin/sh -./configure "$@" --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --with-pic + diff --git a/libs/libdingaling/configure.gnu b/libs/libdingaling/configure.gnu index f27076b026..53c204581f 100644 --- a/libs/libdingaling/configure.gnu +++ b/libs/libdingaling/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared diff --git a/libs/libedit/configure.gnu b/libs/libedit/configure.gnu index dd7048bd67..c78238de46 100644 --- a/libs/libedit/configure.gnu +++ b/libs/libedit/configure.gnu @@ -1,2 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic + diff --git a/libs/libg722_1/configure.gnu b/libs/libg722_1/configure.gnu index a22f176e74..c78238de46 100644 --- a/libs/libg722_1/configure.gnu +++ b/libs/libg722_1/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic diff --git a/libs/libsndfile/configure.gnu b/libs/libsndfile/configure.gnu index d34ef3ada4..8874539767 100644 --- a/libs/libsndfile/configure.gnu +++ b/libs/libsndfile/configure.gnu @@ -1,2 +1,4 @@ #! /bin/sh -./configure "$@" --disable-sqlite --disable-shared --with-pic --disable-external-libs --disable-octave +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-sqlite --disable-shared --with-pic --disable-external libs --disable-octave + diff --git a/libs/libteletone/configure.gnu b/libs/libteletone/configure.gnu index a22f176e74..c78238de46 100644 --- a/libs/libteletone/configure.gnu +++ b/libs/libteletone/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic diff --git a/libs/pcre/configure.gnu b/libs/pcre/configure.gnu index dd7048bd67..c78238de46 100644 --- a/libs/pcre/configure.gnu +++ b/libs/pcre/configure.gnu @@ -1,2 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic + diff --git a/libs/portaudio/configure.gnu b/libs/portaudio/configure.gnu index 2e805f6844..4c80df6509 100644 --- a/libs/portaudio/configure.gnu +++ b/libs/portaudio/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --with-pic --disable-shared +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --with-pic --disable-shared diff --git a/libs/sofia-sip/configure.gnu b/libs/sofia-sip/configure.gnu index 34a81610d1..e9cd89ac7c 100644 --- a/libs/sofia-sip/configure.gnu +++ b/libs/sofia-sip/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --with-pic --with-glib=no --disable-shared --without-doxygen +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --with-pic --with-glib=no --disable-shared --without-doxygen diff --git a/libs/spandsp/configure.gnu b/libs/spandsp/configure.gnu index 3f2f22095f..7bc2bce9d8 100755 --- a/libs/spandsp/configure.gnu +++ b/libs/spandsp/configure.gnu @@ -1,2 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic --enable-builtin-tiff +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic --enable-builtin-tiff + diff --git a/libs/speex/configure.gnu b/libs/speex/configure.gnu index 1a6d134a9f..1f7f75a449 100644 --- a/libs/speex/configure.gnu +++ b/libs/speex/configure.gnu @@ -1,2 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic --disable-oggtest +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic --disable-oggtest + diff --git a/libs/sqlite/configure.gnu b/libs/sqlite/configure.gnu index df2137127d..439299ee59 100644 --- a/libs/sqlite/configure.gnu +++ b/libs/sqlite/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --disable-tcl --enable-threadsafe --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-tcl --enable-threadsafe --disable-shared --with-pic diff --git a/libs/srtp/configure.gnu b/libs/srtp/configure.gnu index a22f176e74..c78238de46 100644 --- a/libs/srtp/configure.gnu +++ b/libs/srtp/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic diff --git a/libs/tiff-3.8.2/configure.gnu b/libs/tiff-3.8.2/configure.gnu index dd7048bd67..c78238de46 100755 --- a/libs/tiff-3.8.2/configure.gnu +++ b/libs/tiff-3.8.2/configure.gnu @@ -1,2 +1,4 @@ #! /bin/sh -./configure "$@" --disable-shared --with-pic +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-shared --with-pic + diff --git a/libs/unimrcp/configure.gnu b/libs/unimrcp/configure.gnu index b0b3bf74c8..ee8d194b03 100644 --- a/libs/unimrcp/configure.gnu +++ b/libs/unimrcp/configure.gnu @@ -1,3 +1,4 @@ #! /bin/sh -./configure "$@" --with-apr=../apr --disable-shared --with-pic --with-apr-util=../apr-util --with-sofia-sip=../sofia-sip +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --with-apr=../apr --disable-shared --with-pic --with-apr-util=../apr-util --with-sofia-sip=../sofia-sip diff --git a/libs/xmlrpc-c/configure.gnu b/libs/xmlrpc-c/configure.gnu index 8bcc3e268a..dda9b7dde0 100644 --- a/libs/xmlrpc-c/configure.gnu +++ b/libs/xmlrpc-c/configure.gnu @@ -1,2 +1,4 @@ #! /bin/sh -./configure "$@" --disable-cplusplus --disable-wininet-client --disable-libwww-client --disable-shared --with-pic --disable-curl-client +srcpath=$(dirname $0 2>/dev/null ) || srcpath="." +$srcpath/configure "$@" --disable-cplusplus --disable-wininet-client --disable-libwww-client --disable-shared --with-pic --disable-curl-client +