comparison configure.ac @ 12507:5bf6c0c908b2

[gaim-migrate @ 14819] Some distributions *cough* fedora *cough* are starting to package NSS completely separately from Mozilla, so this is necessary to pick up the new pkg-config file committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 16 Dec 2005 21:41:46 +0000
parents 9c562c0316d8
children 5cfc53ead482
comparison
equal deleted inserted replaced
12506:8e60dc361a66 12507:5bf6c0c908b2
1005 fi 1005 fi
1006 1006
1007 enable_nss="no" 1007 enable_nss="no"
1008 1008
1009 if test "x$nss_manual_check" = "xno"; then 1009 if test "x$nss_manual_check" = "xno"; then
1010 PKG_CHECK_MODULES(NSS, mozilla-nss, have_nss="yes", have_nss="no") 1010 if `$PKG_CONFIG --exists mozilla-nss`; then
1011 1011 PKG_CHECK_MODULES(NSS, mozilla-nss, have_nss="yes", have_nss="no")
1012 if test "x$have_nss" = "xyes"; then
1013 mozilla_nspr="mozilla-nspr" 1012 mozilla_nspr="mozilla-nspr"
1014 mozilla_nss="mozilla-nss" 1013 mozilla_nss="mozilla-nss"
1014 else
1015 if `$PKG_CONFIG --exists nss`; then
1016 PKG_CHECK_MODULES(NSS, nss, have_nss="yes")
1017 mozilla_nspr="nspr"
1018 mozilla_nss="nss"
1019 fi
1020 fi
1021
1022 if test "x$have_nss" = "xyes"; then
1015 1023
1016 AC_DEFINE(HAVE_NSS, 1, [Define if you have Mozilla NSS]) 1024 AC_DEFINE(HAVE_NSS, 1, [Define if you have Mozilla NSS])
1017 AC_DEFINE(HAVE_SSL, 1, [Define if you have SSL]) 1025 AC_DEFINE(HAVE_SSL, 1, [Define if you have SSL])
1018 1026
1019 msg_nss="Mozilla NSS" 1027 msg_nss="Mozilla NSS"