Restore OSX built-in prefs editor. Change the configure.ac check for

no_x to WANT_GTK=no since X may be installed when building on OS X,
but we probably don't want it!
This commit is contained in:
asvitkine 2009-03-18 16:09:15 +00:00
parent b6f9f38f98
commit fceeb39d3c

View File

@ -604,7 +604,7 @@ darwin*)
fi
if [[ "x$ac_cv_framework_Carbon" = "xyes" ]]; then
EXTFSSRC=../MacOSX/extfs_macosx.cpp
if [[ "x$ac_cv_framework_AppKit" = "xyes" -a "x$no_x" = "xyes" ]]; then
if [[ "x$ac_cv_framework_AppKit" = "xyes" -a "x$WANT_GTK" = "xno" ]]; then
PREFSSRC="../MacOSX/prefs_macosx.mm ../MacOSX/PrefsEditor/PrefsEditor.mm"
CPPFLAGS="$CPPFLAGS -I../MacOSX/PrefsEditor"
fi