]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
tell people about "xcrun foo" on OSX
authorAlan T. DeKok <aland@freeradius.org>
Tue, 24 Jan 2023 16:41:17 +0000 (11:41 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 24 Jan 2023 16:41:17 +0000 (11:41 -0500)
configure
configure.ac

index d708a5695cd9a381f23cad38966157281d468530..fe0757062adf2abec052e30c461443d7a90f12e6 100755 (executable)
--- a/configure
+++ b/configure
@@ -3433,6 +3433,7 @@ case "$target" in
     CFLAGS="$CFLAGS -DDARWIN -mmacosx-version-min=$(sw_vers -productVersion)"
     LDFLAGS="$LDFLAGS -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -mmacosx-version-min=$(sw_vers -productVersion)"
     LIBS="$LIBS -F /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ -framework DirectoryService"
+    echo "Please be sure to use 'xcrun ./configure ...' so that the tests can find the system header files"
     ;;
 esac
 
@@ -17455,3 +17456,12 @@ for module in $module_list; do
 done
 
 
+case "$target" in
+  *-darwin*)
+    echo "Please be sure to use 'xcrun gmake' or 'xcrun lldb' in order to build and run the server from the source tree"
+    ;;
+
+  *)
+    ;;
+esac
+
index 126208a452bfa1ea71aac4137030c3ab822da051..5d5905ff7868c49e3fd6968513cb2402979e1b50 100644 (file)
@@ -223,6 +223,7 @@ case "$target" in
     CFLAGS="$CFLAGS -DDARWIN -mmacosx-version-min=$(sw_vers -productVersion)"
     LDFLAGS="$LDFLAGS -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -mmacosx-version-min=$(sw_vers -productVersion)"
     LIBS="$LIBS -F /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ -framework DirectoryService"
+    echo "Please be sure to use 'xcrun ./configure ...' so that the tests can find the system header files"
     ;;
 esac
 
@@ -2637,3 +2638,15 @@ AC_OUTPUT
 
 FR_LIBRARY_REPORT
 FR_MODULE_REPORT
+
+dnl #
+dnl #  Inform people about OSX stupidities.
+dnl #
+case "$target" in
+  *-darwin*)
+    echo "Please be sure to use 'xcrun gmake' or 'xcrun lldb' in order to build and run the server from the source tree"
+    ;; 
+
+  *)
+    ;;
+esac