comparison configure.ac @ 14600:d44c87d17b19

[gaim-migrate @ 17327] Fall back to using internal libgadu if an external one is not found committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 20 Sep 2006 11:42:26 +0000
parents bcf89a7c69db
children 1e1bcb4a6d82
comparison
equal deleted inserted replaced
14599:26e7d03d40c5 14600:d44c87d17b19
650 gadu_libs=no 650 gadu_libs=no
651 ]) 651 ])
652 CPPFLAGS="$CPPFLAGS_save" 652 CPPFLAGS="$CPPFLAGS_save"
653 fi 653 fi
654 654
655 AM_CONDITIONAL(USE_INTERNAL_LIBGG, test "x$gadu_libs" != "xyes")
656
655 AC_SUBST(GADU_LIBS) 657 AC_SUBST(GADU_LIBS)
656 AC_SUBST(GADU_CFLAGS) 658 AC_SUBST(GADU_CFLAGS)
657 659
658 660
659 AC_ARG_ENABLE(distrib,,,enable_distrib=no) 661 AC_ARG_ENABLE(distrib,,,enable_distrib=no)
673 if test "x$howlincludes" != "xyes" -o "x$howllibs" != "xyes"; then 675 if test "x$howlincludes" != "xyes" -o "x$howllibs" != "xyes"; then
674 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/bonjour//'` 676 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/bonjour//'`
675 fi 677 fi
676 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then 678 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then
677 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/silc//'` 679 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/silc//'`
678 fi
679 if test "x$gadu_libs" != "xyes"; then
680 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/gg//'`
681 fi 680 fi
682 AC_SUBST(STATIC_PRPLS) 681 AC_SUBST(STATIC_PRPLS)
683 STATIC_LINK_LIBS= 682 STATIC_LINK_LIBS=
684 extern_init= 683 extern_init=
685 load_proto= 684 load_proto=
738 if test "x$howlincludes" != "xyes" -o "x$howllibs" != "xyes"; then 737 if test "x$howlincludes" != "xyes" -o "x$howllibs" != "xyes"; then
739 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'` 738 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'`
740 fi 739 fi
741 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then 740 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then
742 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/silc//'` 741 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/silc//'`
743 fi
744 if test "x$gadu_libs" != "xyes"; then
745 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/gg//'`
746 fi 742 fi
747 AC_SUBST(DYNAMIC_PRPLS) 743 AC_SUBST(DYNAMIC_PRPLS)
748 for i in $DYNAMIC_PRPLS ; do 744 for i in $DYNAMIC_PRPLS ; do
749 case $i in 745 case $i in
750 bonjour) dynamic_bonjour=yes ;; 746 bonjour) dynamic_bonjour=yes ;;