Add initial support for python bindings
[alexxy/gromacs.git] / cmake / gmxTestSignal.cmake
index fb3fe3c73b5d17772ed9e5195b2e4f9369bb2b9c..5756729234500f33855956394db0d096dfcf0db8 100644 (file)
@@ -1,10 +1,10 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2012,2013, by the GROMACS development team, led by
-# David van der Spoel, Berk Hess, Erik Lindahl, and including many
-# others, as listed in the AUTHORS file in the top-level source
-# directory and at http://www.gromacs.org.
+# Copyright (c) 2009,2011,2014, by the GROMACS development team, led by
+# Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
+# and including many others, as listed in the AUTHORS file in the
+# top-level source directory and at http://www.gromacs.org.
 #
 # GROMACS is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public License
@@ -31,7 +31,7 @@
 #
 # To help us fund GROMACS development, we humbly ask that you cite
 # the research papers on the package. Check out http://www.gromacs.org.
-#
+
 # - Define macro to check if SIGUSR1 is defined
 #
 #  GMX_TEST_SIGUSR1(VARIABLE)
 
 MACRO(GMX_TEST_SIGUSR1 VARIABLE)
     IF(NOT DEFINED HAVE_${VARIABLE})
-        
+
         MESSAGE(STATUS "Checking for SIGUSR1")
 
-        TRY_COMPILE(HAVE_${VARIABLE} "${CMAKE_BINARY_DIR}"    
+        TRY_COMPILE(HAVE_${VARIABLE} "${CMAKE_BINARY_DIR}"
                     "${CMAKE_SOURCE_DIR}/cmake/TestSIGUSR1.c")
 
-       IF(HAVE_${VARIABLE})        
+       IF(HAVE_${VARIABLE})
             MESSAGE(STATUS "Checking for SIGUSR1 - found")
             set(${VARIABLE} 1 CACHE INTERNAL "Result of test for SIGUSR1" FORCE)
-        ELSE(HAVE_${VARIABLE})
+        ELSE()
             MESSAGE(STATUS "Checking for SIGUSR1 - not found")
             set(${VARIABLE} 0 CACHE INTERNAL "Result of test for SIGUSR1" FORCE)
-        ENDIF(HAVE_${VARIABLE})
-        
-    ENDIF(NOT DEFINED HAVE_${VARIABLE})
-ENDMACRO(GMX_TEST_SIGUSR1 VARIABLE)
-
+        ENDIF()
 
+    ENDIF()
+ENDMACRO(GMX_TEST_SIGUSR1 VARIABLE)