[vlc-devel] commit: Fix non posix test construction in configure. (Alexis Ballier )

git version control git at videolan.org
Wed Feb 4 00:07:35 CET 2009


vlc | branch: master | Alexis Ballier <aballier at gentoo.org> | Tue Feb  3 21:10:04 2009 +0100| [941cc25eb6a890f62766f52594300bce169d0271] | committer: Christophe Mutricy 

Fix non posix test construction in configure.

POSIX does not document the == construction for test; Even if GNU test and bash builtin allow it, configure is run by sh and FreeBSD test does not allow it so that this test is always false there.

Signed-off-by: Christophe Mutricy <xtophe at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=941cc25eb6a890f62766f52594300bce169d0271
---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 26bc6fd..b33b2ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1572,7 +1572,7 @@ dnl Allow runing as root (usefull for people runing on embedded platforms)
 dnl
 AC_ARG_ENABLE(run-as-root,
 [  --enable-run-as-root    allow runing VLC as root (default disabled)])
-AS_IF([test "${enable_run_as_root}" == "yes"],[
+AS_IF([test "${enable_run_as_root}" = "yes"],[
     AC_DEFINE(ALLOW_RUN_AS_ROOT, 1,
               [Define to 1 to allow runing VLC as root (uid 0).])
 ])




More information about the vlc-devel mailing list