Przeglądaj źródła

Updated to build on Mac OS X (Lion)

Eric Stanley 14 lat temu
rodzic
commit
0a50d16706
3 zmienionych plików z 659 dodań i 210 usunięć
  1. 652 209
      configure
  2. 6 1
      configure.in
  3. 1 0
      src/Makefile.in

Plik diff jest za duży
+ 652 - 209
configure


+ 6 - 1
configure.in

@@ -301,7 +301,12 @@ if test x$check_for_ssl = xyes; then
 		found_ssl=no
 		for dir in $ssl_lib_dir $ssl_dir /usr/lib64 /usr/lib /usr/local/lib /usr/lib/ssl /usr/ssl/lib /usr/openssl/lib /usr/pkg/lib  /usr/freeware/lib/openssl /usr/sfw/lib /opt/freeware/lib; do
 			ssllibdir="$dir"
-			if test -f "$dir/libssl.so"; then
+			if test "`uname -s`" == "Darwin" ; then
+				soext="dylib"
+			else
+				soext="so"
+			fi
+			if test -f "$dir/libssl.$soext"; then
 				found_ssl=yes
 			        break
 			fi

+ 1 - 0
src/Makefile.in

@@ -56,6 +56,7 @@ install-daemon:
 clean:
 	rm -f core nrpe check_nrpe $(SNPRINTF_O)
 	rm -f *~ */*~
+	rm -rf nrpe.dSYM check_nrpe.dSYM
 
 distclean: clean
 	rm -f Makefile

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików