configure

branch
webdav
changeset 260
4779a6fb4fbe
parent 250
f4d93355b054
child 267
4ded424f4a5f
--- a/configure	Tue Aug 25 12:07:56 2020 +0200
+++ b/configure	Sat Oct 24 17:34:32 2020 +0200
@@ -292,6 +292,14 @@
         return 0
     done
 	
+    # dependency openssl 
+    while true
+    do
+        LDFLAGS="$LDFLAGS -lssl -lcrypto"    
+		echo yes
+        return 0
+    done
+	
 	echo no
 	return 1
 }
@@ -360,7 +368,7 @@
     while true
     do
         
-        CFLAGS="$CFLAGS -DBSD"    
+        CFLAGS="$CFLAGS -DBSD -I/usr/local/include"    
         LDFLAGS="$LDFLAGS -lpthread -lm -lldap"    
 		cat >> $TEMP_DIR/make.mk << __EOF__
 # platform dependend source files
@@ -498,7 +506,7 @@
 if [ $ERROR -ne 0 ]; then
 	echo
 	echo "Error: Unresolved dependencies"
-	echo $DEPENCIES_FAILED
+	echo $DEPENDENCIES_FAILED
 	rm -Rf $TEMP_DIR
 	exit 1
 fi

mercurial