* config/pathxml.m4: Whitespace fixes for coding standards.

* configure.ac: Ditto.
        * configure: Regenerate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@18407 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Ayers 2004-01-13 12:27:51 +00:00
parent a4f3157e1d
commit 9acaa0f2cc
4 changed files with 89 additions and 60 deletions

View file

@ -1,3 +1,9 @@
2004-01-13 David Ayers <d.ayers@inode.at>
* config/pathxml.m4: Whitespace fixes for coding standards.
* configure.ac: Ditto.
* configure: Regenerate.
2004-01-12 David Ayers <d.ayers@inode.at> 2004-01-12 David Ayers <d.ayers@inode.at>
* gsweb.make.in: Change 'WO' framework names to WobObjects, * gsweb.make.in: Change 'WO' framework names to WobObjects,

View file

@ -60,13 +60,16 @@ main()
system("touch conf.xmltest"); system("touch conf.xmltest");
tmp_version = xmlStrdup("$min_xml_version"); tmp_version = xmlStrdup("$min_xml_version");
if(sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) { if(sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3)
{
printf("%s, bad version string\n", "$min_xml_version"); printf("%s, bad version string\n", "$min_xml_version");
exit(1); exit(1);
} }
tmp_version = xmlStrdup(LIBXML_DOTTED_VERSION); tmp_version = xmlStrdup(LIBXML_DOTTED_VERSION);
if(sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) { if(sscanf(tmp_version, "%d.%d.%d",
&xml_major_version, &xml_minor_version, &xml_micro_version) != 3)
{
printf("%s, bad version string\n", "$min_xml_version"); printf("%s, bad version string\n", "$min_xml_version");
exit(1); exit(1);
} }
@ -75,17 +78,21 @@ main()
(xml_minor_version != $xml_config_minor_version) || (xml_minor_version != $xml_config_minor_version) ||
(xml_micro_version != $xml_config_micro_version)) (xml_micro_version != $xml_config_micro_version))
{ {
printf("\n*** 'xml-config --version' returned %d.%d.%d, but libxml (%d.%d.%d)\n", printf("\n*** 'xml-config --version' returned %d.%d.%d, \n");
$xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version, printf("\n*** but libxml (%d.%d.%d)\n",
$xml_config_major_version, $xml_config_minor_version,
$xml_config_micro_version,
xml_major_version, xml_minor_version, xml_micro_version); xml_major_version, xml_minor_version, xml_micro_version);
printf("*** was found! If xml-config was correct, then it is best\n"); printf("*** was found! If xml-config was correct, then it is best\n");
printf("*** to remove the old version of libxml. You may also be able to fix the error\n"); printf("*** to remove the old version of libxml. You may also be \n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); printf("*** able to fix the error by modifying your LD_LIBRARY_PATH \n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** enviroment variable, or by editing /etc/ld.so.conf.\n");
printf("*** required on your system.\n"); printf("*** Make sure you have run ldconfig if that is required on\n");
printf("*** If xml-config was wrong, set the environment variable XML_CONFIG\n"); printf("*** your system.\n");
printf("*** to point to the correct copy of xml-config, and remove the file config.cache\n"); printf("*** If xml-config was wrong, set the environment variable \n");
printf("*** before re-running configure\n"); printf("*** XML_CONFIG to point to the correct copy of xml-config,\n");
printf("*** and remove the file config.cache before re-running \n");
printf("*** configure\n");
} }
else else
{ {
@ -100,17 +107,21 @@ main()
{ {
printf("\n*** An old version of libxml (%d.%d.%d) was found.\n", printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
xml_major_version, xml_minor_version, xml_micro_version); xml_major_version, xml_minor_version, xml_micro_version);
printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n", printf("*** You need a version of libxml newer than %d.%d.%d. \n",
major, minor, micro); major, minor, micro);
printf("*** libxml is always available from ftp://ftp.gnome.org.\n"); printf("*** The latest version of libxml is available from \n");
printf("*** ftp://ftp.gnome.org.\n");
printf("***\n"); printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n"); printf("*** If you have already installed a sufficiently new \n");
printf("*** probably means that the wrong copy of the xml-config shell script is\n"); printf("*** version, this error probably means that the wrong \n");
printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** copy of the xml-config shell script is being found. \n");
printf("*** of libxml, but you can also set the XML_CONFIG environment to point to the\n"); printf("*** The easiest way to fix this is to remove the old \n");
printf("*** correct copy of xml-config. (In this case, you will have to\n"); printf("*** version of libxml, but you can also set the \n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); printf("*** XML_CONFIG environment to point to the correct copy \n");
printf("*** so that the correct libraries are found at run-time))\n"); printf("*** of xml-config. (In this case, you will have to \n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, \n");
printf("*** or edit /etc/ld.so.conf so that the correct \n");
printf("*** libraries are found at run-time))\n");
} }
} }
return 1; return 1;

52
configure vendored
View file

@ -1173,6 +1173,7 @@ fi
echo "$as_me:$LINENO: result: $GSWNAMES" >&5 echo "$as_me:$LINENO: result: $GSWNAMES" >&5
echo "${ECHO_T}$GSWNAMES" >&6 echo "${ECHO_T}$GSWNAMES" >&6
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Check for GDL2 # Check for GDL2
#-------------------------------------------------------------------- #--------------------------------------------------------------------
@ -2196,13 +2197,16 @@ main()
system("touch conf.xmltest"); system("touch conf.xmltest");
tmp_version = xmlStrdup("$min_xml_version"); tmp_version = xmlStrdup("$min_xml_version");
if(sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) { if(sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3)
{
printf("%s, bad version string\n", "$min_xml_version"); printf("%s, bad version string\n", "$min_xml_version");
exit(1); exit(1);
} }
tmp_version = xmlStrdup(LIBXML_DOTTED_VERSION); tmp_version = xmlStrdup(LIBXML_DOTTED_VERSION);
if(sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) { if(sscanf(tmp_version, "%d.%d.%d",
&xml_major_version, &xml_minor_version, &xml_micro_version) != 3)
{
printf("%s, bad version string\n", "$min_xml_version"); printf("%s, bad version string\n", "$min_xml_version");
exit(1); exit(1);
} }
@ -2211,17 +2215,21 @@ main()
(xml_minor_version != $xml_config_minor_version) || (xml_minor_version != $xml_config_minor_version) ||
(xml_micro_version != $xml_config_micro_version)) (xml_micro_version != $xml_config_micro_version))
{ {
printf("\n*** 'xml-config --version' returned %d.%d.%d, but libxml (%d.%d.%d)\n", printf("\n*** 'xml-config --version' returned %d.%d.%d, \n");
$xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version, printf("\n*** but libxml (%d.%d.%d)\n",
$xml_config_major_version, $xml_config_minor_version,
$xml_config_micro_version,
xml_major_version, xml_minor_version, xml_micro_version); xml_major_version, xml_minor_version, xml_micro_version);
printf("*** was found! If xml-config was correct, then it is best\n"); printf("*** was found! If xml-config was correct, then it is best\n");
printf("*** to remove the old version of libxml. You may also be able to fix the error\n"); printf("*** to remove the old version of libxml. You may also be \n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); printf("*** able to fix the error by modifying your LD_LIBRARY_PATH \n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); printf("*** enviroment variable, or by editing /etc/ld.so.conf.\n");
printf("*** required on your system.\n"); printf("*** Make sure you have run ldconfig if that is required on\n");
printf("*** If xml-config was wrong, set the environment variable XML_CONFIG\n"); printf("*** your system.\n");
printf("*** to point to the correct copy of xml-config, and remove the file config.cache\n"); printf("*** If xml-config was wrong, set the environment variable \n");
printf("*** before re-running configure\n"); printf("*** XML_CONFIG to point to the correct copy of xml-config,\n");
printf("*** and remove the file config.cache before re-running \n");
printf("*** configure\n");
} }
else else
{ {
@ -2236,17 +2244,21 @@ main()
{ {
printf("\n*** An old version of libxml (%d.%d.%d) was found.\n", printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
xml_major_version, xml_minor_version, xml_micro_version); xml_major_version, xml_minor_version, xml_micro_version);
printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n", printf("*** You need a version of libxml newer than %d.%d.%d. \n",
major, minor, micro); major, minor, micro);
printf("*** libxml is always available from ftp://ftp.gnome.org.\n"); printf("*** The latest version of libxml is available from \n");
printf("*** ftp://ftp.gnome.org.\n");
printf("***\n"); printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n"); printf("*** If you have already installed a sufficiently new \n");
printf("*** probably means that the wrong copy of the xml-config shell script is\n"); printf("*** version, this error probably means that the wrong \n");
printf("*** being found. The easiest way to fix this is to remove the old version\n"); printf("*** copy of the xml-config shell script is being found. \n");
printf("*** of libxml, but you can also set the XML_CONFIG environment to point to the\n"); printf("*** The easiest way to fix this is to remove the old \n");
printf("*** correct copy of xml-config. (In this case, you will have to\n"); printf("*** version of libxml, but you can also set the \n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); printf("*** XML_CONFIG environment to point to the correct copy \n");
printf("*** so that the correct libraries are found at run-time))\n"); printf("*** of xml-config. (In this case, you will have to \n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, \n");
printf("*** or edit /etc/ld.so.conf so that the correct \n");
printf("*** libraries are found at run-time))\n");
} }
} }
return 1; return 1;