[DVDnav-discuss] r1224 - trunk/libdvdread/configure2
erik
subversion at mplayerhq.hu
Sat Feb 12 21:30:23 CET 2011
Author: erik
Date: Sat Feb 12 21:30:23 2011
New Revision: 1224
Log:
Use a single = instead of ==
test in the bourne shell and its derivatives actually specifies
= as the test for equality. == was accepted for a long time. But
dash does not. configure2 used == for a test. Which caused debian
to break if dash is used. This changes it to =. Patch and testing
provided by Mike Castle (dalgoda+mplayer AT gmail DOT com). Thanks
Mike!
Modified:
trunk/libdvdread/configure2
Modified: trunk/libdvdread/configure2
==============================================================================
--- trunk/libdvdread/configure2 Sat Feb 12 21:29:58 2011 (r1223)
+++ trunk/libdvdread/configure2 Sat Feb 12 21:30:23 2011 (r1224)
@@ -149,7 +149,7 @@ cat > config.h << EOF
/* Automatically generated by configure, do not edit */
#include "version.h"
EOF
-test "$bigendian" == "yes" && echo "#define WORDS_BIGENDIAN" || echo "#undef WORDS_BIGENDIAN" >> config.h
+test "$bigendian" = "yes" && echo "#define WORDS_BIGENDIAN" || echo "#undef WORDS_BIGENDIAN" >> config.h
# build tree in object directory if source path is different from current one
if test "$source_path_used" != "no"; then
More information about the DVDnav-discuss
mailing list