Server IP : 184.154.167.98 / Your IP : 3.137.186.186 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/kernels/4.18.0-553.30.1.lve.el8.x86_64/scripts/kconfig/ |
Upload File : |
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 PKG="ncursesw" PKG2="ncurses" if pkg-config --exists $PKG; then echo cflags=\"$(pkg-config --cflags $PKG)\" echo libs=\"$(pkg-config --libs $PKG)\" exit 0 fi if pkg-config --exists $PKG2; then echo cflags=\"$(pkg-config --cflags $PKG2)\" echo libs=\"$(pkg-config --libs $PKG2)\" exit 0 fi # Unfortunately, some distributions (e.g. 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\" exit 0 fi if [ -f /usr/include/ncurses/ncurses.h ]; then echo cflags=\"-D_GNU_SOURCE -I/usr/include/ncurses\" echo libs=\"-lncurses\" exit 0 fi if [ -f /usr/include/ncurses.h ]; then echo cflags=\"-D_GNU_SOURCE\" echo libs=\"-lncurses\" 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 "*" exit 1