17 lines
513 B
Text
17 lines
513 B
Text
$NetBSD: patch-ac,v 1.6 2014/11/25 10:07:18 wiz Exp $
|
|
|
|
--- configure.orig 2013-11-19 02:02:29.000000000 +0000
|
|
+++ configure
|
|
@@ -176,10 +176,10 @@ done
|
|
|
|
# detect version of libgphoto2 the compilation host has installed
|
|
pkg-config --atleast-version 2.5 libgphoto2
|
|
-if [ $? == 1 ]
|
|
+if [ $? = 1 ]
|
|
then
|
|
pkg-config --atleast-version 2.4 libgphoto2
|
|
- if [ $? == 1 ]
|
|
+ if [ $? = 1 ]
|
|
then
|
|
printf "No compatible libGPhoto installation found. Configuration cannot continue.\n";
|
|
exit 1
|