aboutsummaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorAnderson Toshiyuki Sasaki <ansasaki@redhat.com>2019-03-11 15:56:06 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-04-01 08:38:17 +0200
commitd6d9b56bb9c96eb15329b5530b41e742cef04dde (patch)
tree2c09be1498c474218af6624f2278ab992a6b3bbf /config.h.cmake
parent68385a2e983a30c3013663e4cc934a67a9878ea5 (diff)
downloadlibssh-d6d9b56bb9c96eb15329b5530b41e742cef04dde.tar.gz
libssh-d6d9b56bb9c96eb15329b5530b41e742cef04dde.tar.xz
libssh-d6d9b56bb9c96eb15329b5530b41e742cef04dde.zip
cmake,options: Allow to set global bind config file
This allows the global bind configuration file path to be set in configuration time by defining the GLOBAL_BIND_CONFIG when calling cmake. If no value is defined, the default path is set as "/etc/ssh/libssh_server_config". usage example: $ cmake -DGLOBAL_BIND_CONFIG=/etc/my/custom/path .. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 918ad437..404c0168 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -12,6 +12,9 @@
#cmakedefine BINARYDIR "${BINARYDIR}"
#cmakedefine SOURCEDIR "${SOURCEDIR}"
+/* Global bind configuration file path */
+#cmakedefine GLOBAL_BIND_CONFIG "${GLOBAL_BIND_CONFIG}"
+
/************************** HEADER FILES *************************/
/* Define to 1 if you have the <argp.h> header file. */