aboutsummaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-12-14 11:53:27 +0100
committerAnders Broman <a.broman58@gmail.com>2015-12-15 04:45:23 +0000
commit48c818f3af2a2270da7c85a4f84d6cea6349e095 (patch)
tree61c1803fd4c843531134ddf8ee6332aeb494552d /ConfigureChecks.cmake
parent9132706b2dca67c4991edf0f3779d1d43d4b3f65 (diff)
ConfigureChecks (cmake): Fix indent (use tabs) and modelines
Change-Id: I905c10583baf71b105c65c25f43fb09dd2279b8e Reviewed-on: https://code.wireshark.org/review/12609 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake23
1 files changed, 18 insertions, 5 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 9825cb5780..b052888455 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -102,11 +102,11 @@ check_function_exists("gethostbyname" HAVE_GETHOSTBYNAME)
check_function_exists("gethostbyname2" HAVE_GETHOSTBYNAME2)
check_function_exists("getopt_long" HAVE_GETOPT_LONG)
if(HAVE_GETOPT_LONG)
- if(HAVE_GETOPT_H)
- check_symbol_exists("optreset" "getopt.h" HAVE_OPTRESET)
- else()
- check_symbol_exists("optreset" HAVE_OPTRESET)
- endif()
+ if(HAVE_GETOPT_H)
+ check_symbol_exists("optreset" "getopt.h" HAVE_OPTRESET)
+ else()
+ check_symbol_exists("optreset" HAVE_OPTRESET)
+ endif()
endif()
check_function_exists("getprotobynumber" HAVE_GETPROTOBYNUMBER)
check_function_exists("inet_aton" HAVE_INET_ATON)
@@ -203,3 +203,16 @@ else()
}" HAVE_GLIB_PRINTF_GROUPING)
cmake_pop_check_state()
endif()
+
+#
+# Editor modelines - http://www.wireshark.org/tools/modelines.html
+#
+# Local variables:
+# c-basic-offset: 8
+# tab-width: 8
+# indent-tabs-mode: t
+# End:
+#
+# vi: set shiftwidth=8 tabstop=8 noexpandtab:
+# :indentSize=8:tabSize=8:noTabs=false:
+#