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
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
+
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
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