dnl @synopsis AX_FUNC_WHICH_GETSPNAM_R dnl dnl Determines which historical variant of the getspnam_r() call dnl (taking four or five arguments) is available on the system dnl and sets NEW_SHADOW_API=YES if there are five arguments. dnl dnl Originally named "AX_FUNC_WHICH_GETHOSTBYNAME_R". Rewritten dnl for AX_FUNC_WHICH_GETSPNAM_R dnl dnl @author Caolan McNamara dnl @author Daniel Richard G. dnl @version 2006-05-01 dnl @license LGPL AC_DEFUN([AX_FUNC_WHICH_GETSPNAM_R], [ AC_LANG_PUSH(C) AC_MSG_CHECKING([how many arguments getspnam_r() takes]) AC_CACHE_VAL(ac_cv_func_which_getspnam_r, [ ################################################################ ac_cv_func_which_getspnam_r=unknown # # ONE ARGUMENT (sanity check) # # This should fail, as there is no variant of getspnam_r() that takes # a single argument. If it actually compiles, then we can assume that # netdb.h is not declaring the function, and the compiler is thereby # assuming an implicit prototype. In which case, we're out of luck. # AC_COMPILE_IFELSE( AC_LANG_PROGRAM( [[ #include #include ]], [[ const char *name = "myname"; getspnam_r(name) /* ; */ ]]), ac_cv_func_which_getspnam_r=no) # # FIVE ARGUMENTS # if test "$ac_cv_func_which_getspnam_r" = "unknown"; then AC_COMPILE_IFELSE( AC_LANG_PROGRAM( [[ #include #include ]], [[ char buffer[[]] = { '\0' }; struct spwd spwdStruct; const char *name = "myname"; getspnam_r(name, &spwdStruct, buffer, sizeof buffer, 0) /* ; */ ]]), ac_cv_func_which_getspnam_r=five) fi # # FOUR ARGUMENTS # if test "$ac_cv_func_which_getspnam_r" = "unknown"; then AC_COMPILE_IFELSE( AC_LANG_PROGRAM( [[ #include #include ]], [[ char buffer[[]] = { '\0' }; struct spwd spwdStruct; const char *name = "myname"; getspnam_r(name, &spwdStruct, buffer, sizeof buffer) /* ; */ ]]), ac_cv_func_which_getspnam_r=four) fi ################################################################ ]) dnl end AC_CACHE_VAL case "$ac_cv_func_which_getspnam_r" in five) AC_MSG_RESULT([five]) NEW_SHADOW_API=YES ;; four) AC_MSG_RESULT([four]) ;; no) AC_MSG_RESULT([cannot find function declaration in shadow.h]) ;; unknown) AC_MSG_RESULT([can't tell]) ;; *) AC_MSG_ERROR([internal error]) ;; esac AC_LANG_POP(C) ]) dnl end AC_DEFUN light'>distro/collabora/co-22.05-testflight LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-16tdf#133268: Update non cmd icons, update Glue point iconsRizal Muttaqin
- Update some menubar visibility Change-Id: I7a464691b8608d01f0a8b3924c37e0fd510df45c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96468 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2020-05-31Resolves tdf#133268: Update Colibre color paletteRizal Muttaqin
- Change color to latest MS Office monoline style - Overhaul overall appearance Change-Id: If181b58dc68310cacb926cf814c6d99d4b0b47d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95189 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-06-13Colibre: tdf#125879 Change Wrap Through Icon, tdf#125888, clean SVGRizal Muttaqin
tdf#125742: Fix tracked change, fix blurred, missmatched icons etc Change-Id: I4d6df1ba5e2cb4b016f40e5f626e8fcabc818454 Reviewed-on: https://gerrit.libreoffice.org/73909 Tested-by: Jenkins Reviewed-by: Rizal Muttaqin <riz_17_oke@yahoo.co.id>
2018-03-18Colibre icons: add xmlsecurity iconsandreas kainz
Change-Id: Ic6f218e73d8b085ab74b5f815753987ad49333f7 Reviewed-on: https://gerrit.libreoffice.org/51479 Reviewed-by: andreas_kainz <kainz.a@gmail.com> Tested-by: andreas_kainz <kainz.a@gmail.com>