configure, test and '=='

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply
bsam
Posts: 22
Joined: Tue Oct 07, 2008 10:25 am

configure, test and '=='

Post by bsam »

[code]% grep '" == "' ZoneMinder-1.24.4/configure
if test "$ZM_DB_HOST" == ""; then
if test "$ZM_DB_NAME" == ""; then
if test "$ZM_DB_USER" == ""; then
if test "$ZM_DB_PASS" == ""; then
if test "$ZM_SSL_LIB" == ""; then
if test "$ZM_MYSQL_ENGINE" == ""; then
if test "$ZM_RUNDIR" == ""; then
if test "$ZM_TMPDIR" == ""; then
if test "$ZM_LOGDIR" == ""; then
if test "$ENABLE_MMAP" == "yes"; then
if test "$OPT_NETPBM" == "yes"; then
if test "$ZM_SSL_LIB" == "openssl"; then
if test "$ZM_HAS_V4L1" == "1" || test "$ZM_HAS_V4L2" == "1"; then
if test "$ENABLE_MMAP" == "yes"; then
if test "$ZM_SSL_LIB" == "openssl"; then
if test "$ENABLE_MMAP" == "yes"; then[/code]
Seems that all those '==' should be replaced by '='. I use FreeBSD, but that should not be relevant imho.
Post Reply