Procházet zdrojové kódy

Updated to build on Mac OS X (Lion)

Eric Stanley před 14 roky
rodič
revize
0a50d16706
3 změnil soubory, kde provedl 659 přidání a 210 odebrání
  1. 652 209
      configure
  2. 6 1
      configure.in
  3. 1 0
      src/Makefile.in

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 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

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů