From d552e103c38421915bc03044bb346535f4123672 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 18 Jun 2017 18:47:55 +0200 Subject: [PATCH] Detect Solaris 10 --- bacula/autoconf/config.h.in | 3 +++ bacula/autoconf/configure.in | 3 +++ 2 files changed, 6 insertions(+) diff --git a/bacula/autoconf/config.h.in b/bacula/autoconf/config.h.in index 21e1fa0a23..60cbb30e45 100644 --- a/bacula/autoconf/config.h.in +++ b/bacula/autoconf/config.h.in @@ -794,6 +794,9 @@ /* Set if socklen_t exists */ #undef HAVE_SOCKLEN_T +/* Set if building on Solaris 10 */ +#undef HAVE_SOLARIS10 + /* Set if you have an SQLite3 Database */ #undef HAVE_SQLITE3 diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index f78bedc8e7..6d13a4c41b 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -3269,6 +3269,9 @@ solaris) 5.7|5.8) AC_DEFINE(USE_THR_SETCONCURRENCY) ;; + 5.10) + AC_DEFINE(HAVE_SOLARIS10, 1, [Set if building on Solaris 10]) + ;; *) ;; esac -- 2.39.5