Skip to content

Commit 8d2521a

Browse files
committed
cosmetic fix to a configure error message
AC_MSG_ERROR doesn't handle "\n", so split the error message in two.
1 parent 7b6e6f1 commit 8d2521a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/configure.ac

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,8 @@ then
14441444
AC_MSG_RESULT([found])
14451445
else
14461446
AC_MSG_RESULT(no)
1447-
AC_MSG_ERROR([Python pango and cairo modules not found!\ninstall with "sudo apt-get install python3-gi"])
1447+
AC_MSG_WARN([Python pango and cairo modules not found!])
1448+
AC_MSG_ERROR([install with "sudo apt-get install python3-gi"])
14481449
fi
14491450

14501451
else
@@ -1453,7 +1454,8 @@ else
14531454
AC_MSG_RESULT([found])
14541455
else
14551456
AC_MSG_RESULT(no)
1456-
AC_MSG_ERROR([Python pango and cairo modules not found!\ninstall with "sudo apt-get install python-gtk2"])
1457+
AC_MSG_WARN([Python pango and cairo modules not found!])
1458+
AC_MSG_ERROR([install with "sudo apt-get install python-gtk2"])
14571459
fi
14581460
fi
14591461
fi

0 commit comments

Comments
 (0)