diff --git a/configure b/configure index aa81eff0..d61de412 100755 --- a/configure +++ b/configure @@ -2408,7 +2408,7 @@ CXXFLAGS="-D_GNU_SOURCE" INCLUDES="" LIBS="" -function appendLib { +appendLib () { if test "$LIBS" != ""; then LIBS="$LIBS $*" else @@ -2416,7 +2416,7 @@ function appendLib { fi } -function appendInc { +appendInc () { if test "$INCLUDES" != ""; then INCLUDES="$INCLUDES $*" else @@ -2424,7 +2424,7 @@ function appendInc { fi } -function appendCXX { +appendCXX () { if test "$CXXFLAGS" != ""; then CXXFLAGS="$CXXFLAGS $*" else @@ -2432,7 +2432,7 @@ function appendCXX { fi } -function appendLD { +appendLD () { if test "$LDFLAGS" != ""; then LDFLAGS="$LDFLAGS $*" else diff --git a/configure.in b/configure.in index 3cf60fcb..7763c496 100644 --- a/configure.in +++ b/configure.in @@ -7,7 +7,7 @@ CXXFLAGS="-D_GNU_SOURCE" INCLUDES="" LIBS="" -function appendLib { +appendLib () { if test "$LIBS" != ""; then LIBS="$LIBS $*" else @@ -15,7 +15,7 @@ function appendLib { fi } -function appendInc { +appendInc () { if test "$INCLUDES" != ""; then INCLUDES="$INCLUDES $*" else @@ -23,7 +23,7 @@ function appendInc { fi } -function appendCXX { +appendCXX () { if test "$CXXFLAGS" != ""; then CXXFLAGS="$CXXFLAGS $*" else @@ -31,7 +31,7 @@ function appendCXX { fi } -function appendLD { +appendLD () { if test "$LDFLAGS" != ""; then LDFLAGS="$LDFLAGS $*" else