From: Alan T. DeKok Date: Tue, 24 Jan 2023 16:41:17 +0000 (-0500) Subject: tell people about "xcrun foo" on OSX X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01fdaaf84d30b748c86d85f152b68eea94c1dbfb;p=thirdparty%2Ffreeradius-server.git tell people about "xcrun foo" on OSX --- diff --git a/configure b/configure index d708a5695cd..fe0757062ad 100755 --- 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 + diff --git a/configure.ac b/configure.ac index 126208a452b..5d5905ff786 100644 --- a/configure.ac +++ b/configure.ac @@ -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