Skip to content

Commit

Permalink
check and set d_msg properly
Browse files Browse the repository at this point in the history
  • Loading branch information
arsv committed Oct 22, 2016
1 parent 086191c commit c707e92
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 13 additions & 0 deletions cnf/configure_func_sel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ case ":$d_semctl:$d_semget:$d_semop:" in
;;
esac

mstart "Checking whether you have the full msg*(2) library"
log "d_msgctl=$d_msgctl d_msgget=$d_msgget d_msgsnd=$d_msgsnd d_msgrcv=$d_msgrcv"
case ":$d_msgctl:$d_msgget:$d_msgsnd:$d_msgrcv" in
*::*|*:undef:*)
define d_msg 'undef'
result 'no'
;;
*)
define d_msg 'define'
result 'yes'
;;
esac

mstart "Looking how to get error messages"
log "d_strerror=$d_strerror d_sys_errlist=$d_sys_errlist"
# Configure has quite a long piece on strerror, which basically means just this:
Expand Down
1 change: 0 additions & 1 deletion cnf/configure_misc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ define d_voidtty 'define'
define d_semctl_semid_ds 'define'
define d_semctl_semun 'define'

define d_msg 'undef'
define d_msg_ctrunc 'undef'
define d_msg_dontroute 'undef'
define d_msg_oob 'undef'
Expand Down

0 comments on commit c707e92

Please sign in to comment.