Bug 147671 - Portability problem in configure script
Summary: Portability problem in configure script
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Cmake (show other bugs)
Version: unspecified
Platform: NetBSD pkgsrc NetBSD
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-08 11:00 UTC by Thomas Klausner
Modified: 2022-01-23 04:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.3
Sentry Crash Report:


Attachments
Patch fixing the problem. (374 bytes, patch)
2007-07-08 11:00 UTC, Thomas Klausner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Klausner 2007-07-08 11:00:28 UTC
Version:           0.9.2 (using KDE KDE 3.5.7)
Installed from:    NetBSD pkgsrc
OS:                NetBSD

digikam-0.9.2's configure script uses the unportable bash "=="
comparison operator for test(1). It is not supported by most other
shells or even test(1) from GNU coreutils. Please use "="
instead. I'll attach a patch.
Comment 1 Thomas Klausner 2007-07-08 11:00:55 UTC
Created attachment 21086 [details]
Patch fixing the problem.
Comment 2 caulier.gilles 2007-07-10 22:49:26 UTC
SVN commit 686229 by cgilles:

fix automake syntax to be portable under NETBSD
BUG: 147671


 M  +1 -1      configure.in.in  


--- branches/extragear/kde3/graphics/digikam/configure.in.in #686228:686229
@@ -330,7 +330,7 @@
  [enable_nfs_hack=no]
 )
 
-if test "x$enable_nfs_hack" == "xyes"; then
+if test "x$enable_nfs_hack" = "xyes"; then
    AC_DEFINE(NFS_HACK, 1, [NFS hack enabled])
    AC_MSG_NOTICE([NFS hack enabled. Make sure you know what you are doing])
 fi