diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-27 23:29:48 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-04-28 10:25:39 +0200 |
commit | 1b87a306f0ec3da8bdb1907e2b4efb9e1b3cb9bd (patch) | |
tree | b2c2e39f0815220bc8f23af2c97dbe4d4612ad0e /m4/libxml2.m4 | |
parent | 5e347ac9df8b49503a1fdfa38707a99a6b2b3b0c (diff) | |
download | gnunet-1b87a306f0ec3da8bdb1907e2b4efb9e1b3cb9bd.tar.gz gnunet-1b87a306f0ec3da8bdb1907e2b4efb9e1b3cb9bd.zip |
- fix misc typos
Diffstat (limited to 'm4/libxml2.m4')
-rw-r--r-- | m4/libxml2.m4 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/m4/libxml2.m4 b/m4/libxml2.m4 index 68cd8242f..2865b54f8 100644 --- a/m4/libxml2.m4 +++ b/m4/libxml2.m4 | |||
@@ -9,7 +9,7 @@ | |||
9 | dnl AM_PATH_XML2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) | 9 | dnl AM_PATH_XML2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) |
10 | dnl Test for XML, and define XML_CPPFLAGS and XML_LIBS | 10 | dnl Test for XML, and define XML_CPPFLAGS and XML_LIBS |
11 | dnl | 11 | dnl |
12 | AC_DEFUN([AM_PATH_XML2],[ | 12 | AC_DEFUN([AM_PATH_XML2],[ |
13 | AC_ARG_WITH(xml-prefix, | 13 | AC_ARG_WITH(xml-prefix, |
14 | [ --with-xml-prefix=PFX Prefix where libxml is installed (optional)], | 14 | [ --with-xml-prefix=PFX Prefix where libxml is installed (optional)], |
15 | xml_config_prefix="$withval", xml_config_prefix="") | 15 | xml_config_prefix="$withval", xml_config_prefix="") |
@@ -64,7 +64,7 @@ dnl | |||
64 | #include <string.h> | 64 | #include <string.h> |
65 | #include <libxml/xmlversion.h> | 65 | #include <libxml/xmlversion.h> |
66 | 66 | ||
67 | int | 67 | int |
68 | main() | 68 | main() |
69 | { | 69 | { |
70 | int xml_major_version, xml_minor_version, xml_micro_version; | 70 | int xml_major_version, xml_minor_version, xml_micro_version; |
@@ -100,9 +100,9 @@ main() | |||
100 | printf("*** xml2-config (version %d.%d.%d)\n", | 100 | printf("*** xml2-config (version %d.%d.%d)\n", |
101 | $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version); | 101 | $xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version); |
102 | return 1; | 102 | return 1; |
103 | } | 103 | } |
104 | /* Compare the headers to the library to make sure we match */ | 104 | /* Compare the headers to the library to make sure we match */ |
105 | /* Less than ideal -- doesn't provide us with return value feedback, | 105 | /* Less than ideal -- doesn't provide us with return value feedback, |
106 | * only exits if there's a serious mismatch between header and library. | 106 | * only exits if there's a serious mismatch between header and library. |
107 | */ | 107 | */ |
108 | LIBXML_TEST_VERSION; | 108 | LIBXML_TEST_VERSION; |
@@ -128,7 +128,7 @@ main() | |||
128 | printf("*** being found. The easiest way to fix this is to remove the old version\n"); | 128 | printf("*** being found. The easiest way to fix this is to remove the old version\n"); |
129 | printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n"); | 129 | printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n"); |
130 | printf("*** correct copy of xml2-config. (In this case, you will have to\n"); | 130 | printf("*** correct copy of xml2-config. (In this case, you will have to\n"); |
131 | printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | 131 | printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n"); |
132 | printf("*** so that the correct libraries are found at run-time))\n"); | 132 | printf("*** so that the correct libraries are found at run-time))\n"); |
133 | } | 133 | } |
134 | return 1; | 134 | return 1; |
@@ -141,7 +141,7 @@ main() | |||
141 | 141 | ||
142 | if test "x$no_xml" = x ; then | 142 | if test "x$no_xml" = x ; then |
143 | AC_MSG_RESULT(yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)) | 143 | AC_MSG_RESULT(yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)) |
144 | ifelse([$2], , :, [$2]) | 144 | ifelse([$2], , :, [$2]) |
145 | else | 145 | else |
146 | AC_MSG_RESULT(no) | 146 | AC_MSG_RESULT(no) |
147 | if test "$XML2_CONFIG" = "no" ; then | 147 | if test "$XML2_CONFIG" = "no" ; then |
@@ -170,7 +170,7 @@ main() | |||
170 | echo "*** If you have an old version installed, it is best to remove it, although" | 170 | echo "*** If you have an old version installed, it is best to remove it, although" |
171 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], | 171 | echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ], |
172 | [ echo "*** The test program failed to compile or link. See the file config.log for the" | 172 | [ echo "*** The test program failed to compile or link. See the file config.log for the" |
173 | echo "*** exact error that occured. This usually means LIBXML was incorrectly installed" | 173 | echo "*** exact error that occurred. This usually means LIBXML was incorrectly installed" |
174 | echo "*** or that you have moved LIBXML since it was installed. In the latter case, you" | 174 | echo "*** or that you have moved LIBXML since it was installed. In the latter case, you" |
175 | echo "*** may want to edit the xml2-config script: $XML2_CONFIG" ]) | 175 | echo "*** may want to edit the xml2-config script: $XML2_CONFIG" ]) |
176 | CPPFLAGS="$ac_save_CPPFLAGS" | 176 | CPPFLAGS="$ac_save_CPPFLAGS" |