Add Apple stuff
authoraland <aland>
Sun, 5 Aug 2007 23:38:44 +0000 (23:38 +0000)
committeraland <aland>
Sun, 5 Aug 2007 23:38:44 +0000 (23:38 +0000)
configure
configure.in

index 10bf689..d871ab4 100755 (executable)
--- a/configure
+++ b/configure
@@ -21101,6 +21101,7 @@ case "$host" in
        ;;
 *-darwin*)
        CFLAGS="$CFLAGS -DDARWIN"
+       LIBS="-framework DirectoryService $LIBS"
        ;;
 esac
 
@@ -25322,7 +25323,11 @@ USE_STATIC_LIBS=$enable_static
 
 
 
-ac_config_files="$ac_config_files ./Make.inc ./src/include/build-radpaths-h ./src/main/Makefile ./src/main/checkrad.pl ./src/main/radlast ./src/main/radtest ./scripts/rc.radiusd ./scripts/radwatch ./scripts/check-radiusd-config ./scripts/radiusd.cron.daily ./scripts/radiusd.cron.monthly ./scripts/cryptpasswd ./raddb/dictionary ./raddb/radiusd.conf ./raddb/vmpsd.conf ./raddb/radrelay.conf"
+
+  unset ac_cv_env_LIBS_set
+  unset ac_cv_env_LIBS_value
+
+  ac_config_files="$ac_config_files ./Make.inc ./src/include/build-radpaths-h ./src/main/Makefile ./src/main/checkrad.pl ./src/main/radlast ./src/main/radtest ./scripts/rc.radiusd ./scripts/radwatch ./scripts/check-radiusd-config ./scripts/radiusd.cron.daily ./scripts/radiusd.cron.monthly ./scripts/cryptpasswd ./raddb/dictionary ./raddb/radiusd.conf ./raddb/vmpsd.conf ./raddb/radrelay.conf"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
@@ -26726,3 +26731,4 @@ echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
   done
 fi
 
+
index 9a0d9fb..234054d 100644 (file)
@@ -566,6 +566,7 @@ case "$host" in
        ;;
 *-darwin*)
        CFLAGS="$CFLAGS -DDARWIN"
+       LIBS="-framework DirectoryService $LIBS"
        ;;
 esac