Server IP : 172.67.216.182 / Your IP : 172.70.188.163 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-142/scripts/kconfig/ |
Upload File : |
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 PKG="ncursesw menuw panelw" PKG2="ncurses menu panel" if [ -n "$(command -v ${HOSTPKG_CONFIG})" ]; then if ${HOSTPKG_CONFIG} --exists $PKG; then echo cflags=\"$(${HOSTPKG_CONFIG} --cflags $PKG)\" echo libs=\"$(${HOSTPKG_CONFIG} --libs $PKG)\" exit 0 fi if ${HOSTPKG_CONFIG} --exists $PKG2; then echo cflags=\"$(${HOSTPKG_CONFIG} --cflags $PKG2)\" echo libs=\"$(${HOSTPKG_CONFIG} --libs $PKG2)\" exit 0 fi fi # Check the default paths in case pkg-config is not installed. # (Even if it is installed, some distributions such as openSUSE cannot # find ncurses by pkg-config.) if [ -f /usr/include/ncursesw/ncurses.h ]; then echo cflags=\"-D_GNU_SOURCE -I/usr/include/ncursesw\" echo libs=\"-lncursesw -lmenuw -lpanelw\" exit 0 fi if [ -f /usr/include/ncurses/ncurses.h ]; then echo cflags=\"-D_GNU_SOURCE -I/usr/include/ncurses\" echo libs=\"-lncurses -lmenu -lpanel\" exit 0 fi if [ -f /usr/include/ncurses.h ]; then echo cflags=\"-D_GNU_SOURCE\" echo libs=\"-lncurses -lmenu -lpanel\" exit 0 fi echo >&2 "*" echo >&2 "* Unable to find the ncurses package." echo >&2 "* Install ncurses (ncurses-devel or libncurses-dev" echo >&2 "* depending on your distribution)." echo >&2 "*" echo >&2 "* You may also need to install ${HOSTPKG_CONFIG} to find the" echo >&2 "* ncurses installed in a non-default location." echo >&2 "*" exit 1