summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
authorMaxim <kolmax94@gmail.com>2010-08-18 13:51:30 +0400
committerStephen Gallagher <sgallagh@redhat.com>2010-09-02 12:23:18 -0400
commit0d7e647da737b71a7dbbe0bb5f94af18017e5aa9 (patch)
tree6c6351ebc25432f1d575025b378331f8fa689b16 /src/external
parent56d8d19ac9d857580a233d8264e851883b883c67 (diff)
downloadsssd_unused-0d7e647da737b71a7dbbe0bb5f94af18017e5aa9.tar.gz
sssd_unused-0d7e647da737b71a7dbbe0bb5f94af18017e5aa9.tar.xz
sssd_unused-0d7e647da737b71a7dbbe0bb5f94af18017e5aa9.zip
Add gentoo distrubutions
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
Diffstat (limited to 'src/external')
-rw-r--r--src/external/platform.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/src/external/platform.m4 b/src/external/platform.m4
index 0bc221a2..051fe076 100644
--- a/src/external/platform.m4
+++ b/src/external/platform.m4
@@ -1,11 +1,12 @@
AC_ARG_WITH([os],
- [AC_HELP_STRING([--with-os=OS_TYPE], [Type of your operation system (fedora|redhat|suse)])]
+ [AC_HELP_STRING([--with-os=OS_TYPE], [Type of your operation system (fedora|redhat|suse|gentoo)])]
)
osname=""
if test x"$with_os" != x ; then
if test x"$with_os" = xfedora || \
test x"$with_os" = xredhat || \
test x"$with_os" = xsuse || \
+ test x"$with_os" = xgentoo || \
test x"$with_os" = xdebian ; then
osname=$with_os
else
@@ -22,6 +23,8 @@ if test x"$osname" = x ; then
osname="suse"
elif test -f /etc/debian_version ; then
osname="debian"
+ elif test -f /etc/gentoo-release ; then
+ osname="gentoo"
fi
AC_MSG_NOTICE([Detected operating system type: $osname])
@@ -31,6 +34,7 @@ AM_CONDITIONAL([HAVE_FEDORA], [test x"$osname" = xfedora])
AM_CONDITIONAL([HAVE_REDHAT], [test x"$osname" = xredhat])
AM_CONDITIONAL([HAVE_SUSE], [test x"$osname" = xsuse])
AM_CONDITIONAL([HAVE_DEBIAN], [test x"$osname" = xdebian])
+AM_CONDITIONAL([HAVE_GENTOO], [test x"$osname" = xgentoo])
AC_CHECK_MEMBERS([struct ucred.pid, struct ucred.uid, struct ucred.gid], , ,
[[#define _GNU_SOURCE