summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-03-05 19:22:39 +0100
committerJim Meyering <meyering@redhat.com>2009-03-05 20:45:57 +0100
commit099eaa4acd0d8ca10ec48f67c13382ffb556b703 (patch)
tree258d566cf610167d1433f3e7431bc1ed7b520c9d /m4
parentbcc72af3370b9511351b451e3c96c8375346ff7c (diff)
downloadparted-099eaa4acd0d8ca10ec48f67c13382ffb556b703.tar.gz
remove all trailing blanks
...by running these commands: t=$'\t' git grep -l "[ $t]\$"|xargs perl -pi -e 's/[ \t]+$//'
Diffstat (limited to 'm4')
-rw-r--r--m4/parted.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/m4/parted.m4 b/m4/parted.m4
index 9f3114e..3f6e2e3 100644
--- a/m4/parted.m4
+++ b/m4/parted.m4
@@ -70,15 +70,15 @@ AC_TRY_RUN([
int main ()
{
int major, minor, micro;
- const char *version;
-
+ const char *version;
+
if ( !(version = ped_get_version ()) )
exit(1);
if (sscanf(version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", version);
exit(1);
}
-
+
if ((major > $parted_config_major_version) ||
((major == $parted_config_major_version) && (minor > $parted_config_minor_version)) ||
((major == $parted_config_major_version) && (minor == $parted_config_minor_version) && (micro >= $parted_config_micro_version))) {
@@ -87,14 +87,14 @@ int main ()
printf("\n*** An old version of libparted (%s) was found.\n",
version);
printf("*** You need a version of libparted equal to or newer than %d.%d.%d.\n",
- $parted_config_major_version,
+ $parted_config_major_version,
$parted_config_minor_version,
$parted_config_micro_version);
printf("*** You can get it at - ftp://ftp.gnu.org/gnu/parted/\n");
return 1;
}
}
-],
+],
AC_MSG_RESULT([yes]),
AC_MSG_RESULT([no]) ; $3,
[echo $ac_n "cross compiling; assumed OK... $ac_c"])