[bugle-devel] BuGLe PATCH: fix configure with POSIX /bin/sh
Status: Inactive
Brought to you by:
bmerry
From: Gerald P. <ge...@pf...> - 2009-11-01 17:34:16
|
Configuring BuGLe 0.0.20091026 on FreeBSD 7.2 I noticed the following error messages: checking for xmllint... /usr/local/bin/xmllint test: 0: unexpected operator test: BUGLE_OSAPI_POSIX: unexpected operator configure: creating ./config.status Diving a bit into configure.ac, I found == being used with test. This is specific specific to bash, and not defined by POSIX. The fix is straight- forward and included below. ChangeLog: Use the portably = instead of == with test on two occasions. --- configure.ac.orig 2009-10-26 20:12:49.000000000 +0100 +++ configure.ac 2009-11-01 15:23:46.000000000 +0100 @@ -228,8 +228,8 @@ [test $withval = no && HAVE_GTK=0], []) GLDB=gldb/gldb$EXEEXT GLDB_GUI=gldb/gldb-gui$EXEEXT -test $HAVE_GTK == 1 || GLDB_GUI="" -test $BUGLE_OSAPI == "BUGLE_OSAPI_POSIX" || GLDB="" +test $HAVE_GTK = 1 || GLDB_GUI="" +test $BUGLE_OSAPI = "BUGLE_OSAPI_POSIX" || GLDB="" AC_SUBST(GLDB) AC_SUBST(GLDB_GUI) It would be nice to see this included in your next release. Gerald -- Gerald (Jerry) Pfeifer ge...@pf... http://www.pfeifer.com/gerald/ |