]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak configure
authorMarco van Wieringen <mvw@planets.elm.net>
Mon, 11 Apr 2011 18:31:54 +0000 (20:31 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:44:33 +0000 (14:44 +0200)
bacula/autoconf/acconfig.h
bacula/autoconf/config.h.in
bacula/autoconf/config.h.in.save
bacula/configure

index 55a7c954cecd6fdb395a753407f94432ed389a8a..de62f6c49e9742e631ccc6fc6c134c81332fc30e 100644 (file)
 #undef HAVE_SOCKLEN_T
 
 #undef HAVE_OLD_SOCKOPT
+#undef USE_THR_SETCONCURRENCY
  
 /* Defined if Gtk+-2.4 or greater is present */
 #undef HAVE_GTK_2_4
index c0fe5e92a3d73bd1eef56fe1efe1373196fad069..2b4f018fd3551d275ca555a4539ca6041b4258f5 100644 (file)
 #undef HAVE_SOCKLEN_T
 
 #undef HAVE_OLD_SOCKOPT
+#undef USE_THR_SETCONCURRENCY
  
 /* Defined if Gtk+-2.4 or greater is present */
 #undef HAVE_GTK_2_4
index 33dfaab478640790903dda7524d69e2629b28263..3590d47c0eb1ca3e433f3289f3e70a824b912215 100644 (file)
 #undef HAVE_SOCKLEN_T
 
 #undef HAVE_OLD_SOCKOPT
+#undef USE_THR_SETCONCURRENCY
  
 /* Defined if Gtk+-2.4 or greater is present */
 #undef HAVE_GTK_2_4
index 53f7c3aaf842417592fb3333b6fa0b6e4f276eb6..483d915eff9bae8fb7cddd643ef449b9d7fd346f 100755 (executable)
@@ -29763,10 +29763,17 @@ solaris)
        platforms/solaris/bacula-fd \
        platforms/solaris/bacula-sd \
        platforms/solaris/bacula-dir"
-   if test x$DISTVER = x5.6 ; then
+   case ${DISTVER} in
+   5.5|5.6)
        $as_echo "#define HAVE_OLD_SOCKOPT 1" >>confdefs.h
-
-   fi
+       $as_echo "#define USE_THR_SETCONCURRENCY 1" >>confdefs.h
+      ;;
+   5.7|5.8)
+       $as_echo "#define USE_THR_SETCONCURRENCY 1" >>confdefs.h
+      ;;
+   *)
+      ;;
+   esac
    LIBS="$LIBS -lresolv -lrt"
   ;;
 suse)