We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71df95c commit 3ba2699Copy full SHA for 3ba2699
configure
@@ -3565,21 +3565,10 @@ echores "$_xf86keysym"
3565
echocheck "CACA"
3566
if test "$_caca" = auto ; then
3567
_caca=no
3568
- if ( caca-config --version ) >> "$TMPLOG" 2>&1 ; then
3569
- cat > $TMPC << EOF
3570
-#include <caca.h>
3571
-#ifdef CACA_API_VERSION_1
3572
- #include <caca0.h>
3573
-#endif
3574
-int main(void) { caca_init(); return 0; }
3575
-EOF
3576
- cc_check $(caca-config --libs) && _caca=yes
3577
- fi
+ pkg_config_add 'caca' && _caca=yes
3578
fi
3579
if test "$_caca" = yes ; then
3580
def_caca='#define CONFIG_CACA 1'
3581
- extra_cflags="$extra_cflags $(caca-config --cflags)"
3582
- libs_mplayer="$libs_mplayer $(caca-config --libs)"
3583
vomodules="caca $vomodules"
3584
else
3585
def_caca='#undef CONFIG_CACA'
0 commit comments