GNU bug report logs -
#15769
building on OpenBSD fails because of a shell pattern problem
Previous Next
Reported by: Han Boetes <han <at> boetes.org>
Date: Thu, 31 Oct 2013 16:04:01 UTC
Severity: important
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Or maybe sed will work better than the shell?
*** configure.ac 2013-10-27 18:57:20 +0000
--- configure.ac 2013-10-31 18:02:36 +0000
***************
*** 91,99 ****
"$datarootdir" "$bindir" "$datadir" "$sharedstatedir" "$libexecdir"; do
dnl configure sets LC_ALL=C early on, so this range should work.
! case "$var" in
! *[[^\ -~]]*) AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var]) ;;
! esac
done
--- 91,100 ----
"$datarootdir" "$bindir" "$datadir" "$sharedstatedir" "$libexecdir"; do
dnl configure sets LC_ALL=C early on, so this range should work.
! dnl This seems more portable than using a case statement with *[[^\ -~]]*)
! var=`echo "$var" | sed 's/[[ -~]]//g'`
!
! test -n "$var" && AC_MSG_ERROR([Emacs cannot be built or installed in a directory whose name contains non-ASCII characters: $var])
done
This bug report was last modified 11 years and 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.