diff --git a/configure b/configure index 5c78fcbce..6f1c76efc 100755 --- a/configure +++ b/configure @@ -310,13 +310,6 @@ echo_shell_vars() { echo 'READLINE_DIR=' fi - # TODO: I don't think we need this in shell - if test "$have_systemtap_sdt" = 1; then - echo 'HAVE_SYSTEMTAP_SDT=1' - else - echo 'HAVE_SYSTEMTAP_SDT=' - fi - echo "PREFIX=$FLAG_prefix" echo "DATAROOTDIR=$FLAG_datarootdir" diff --git a/cpp/core.cc b/cpp/core.cc index e34fcbb7c..cb675da9d 100644 --- a/cpp/core.cc +++ b/cpp/core.cc @@ -155,7 +155,7 @@ List* GetAllUsers() { #else fprintf( stderr, - "Oils compiled without libc *pwent() functions. Can't list users.\n"); + "oils: Can't list users because *pwent() functions weren't found in libc\n"); return NewList(); #endif } diff --git a/test/configure-effects.sh b/test/configure-effects.sh index e0812933c..c9e1e12af 100755 --- a/test/configure-effects.sh +++ b/test/configure-effects.sh @@ -37,9 +37,12 @@ test-osh() { # GLOB_PERIOD $osh -x -c 'shopt -s dotglob' - # FNM_EXTMATCH + # FNM_EXTMATCH in glob() # Hm this will works - $osh -x -c 'echo */@(*.bash|*.asdl)' + $osh -x -c 'echo */*/t@(*.asdl|*.sh)' + + # FNM_EXTMATCH in fnmatch() + $osh -x -c 'case foo.py in @(*.asdl|*.py)) echo py ;; esac' # HAVE_PWENT $osh -x -c 'compgen -A user'