From: Jack Lange Date: Tue, 29 Mar 2011 02:36:11 +0000 (-0400) Subject: modified menuconfig to support Mac OSX X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=be6bf9747b22860c24af2232e9671be7153b4007;p=palacios.git modified menuconfig to support Mac OSX --- diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh index 120d624..d54ef2f 100644 --- a/scripts/kconfig/lxdialog/check-lxdialog.sh +++ b/scripts/kconfig/lxdialog/check-lxdialog.sh @@ -19,6 +19,21 @@ ldflags() echo '-lcurses' exit fi + $cc -print-file-name=libncursesw.dylib | grep -q / + if [ $? -eq 0 ]; then + echo '-lncursesw' + exit + fi + $cc -print-file-name=libncurses.dylib | grep -q / + if [ $? -eq 0 ]; then + echo '-lncurses' + exit + fi + $cc -print-file-name=libcurses.dylib | grep -q / + if [ $? -eq 0 ]; then + echo '-lcurses' + exit + fi exit 1 }