On Irix6.2, here are all the things I had to do to get nmh-1.0.2
to compile (and not without warnings).
I've attached my config.cache.
Config.h
~~~~~~~~
Defined the following to 1
HAVE_POSIX_SIGNALS
HAVE_TZSET
Bugs
~~~~
client.c
Changed
#ifdef HAVE_GETHOSTBYNAME
to
#ifndef HAVE_GETHOSTBYNAME
for the line
register struct netent *np;
Makefile's
~~~~~~~~
sbr
LIBOBJS: removed strdup.o strerror.o
sbr|zotnet|mts/smtp
lorder/tsort: removed lorder and tsort invocation because lorder
was spitting out blank lines and the Irix man page says it's unnecessary
anyway.
uip
LD: removed $(LDARGS), mainly because -s was causing a seg fault
TERMILB: was blank; I set it to: -ltermcap
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs. It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already. You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const=yes}
ac_cv_func__ruserpass=${ac_cv_func__ruserpass=no}
ac_cv_func_dbm_open=${ac_cv_func_dbm_open=no}
ac_cv_func_gethostbyname=${ac_cv_func_gethostbyname=no}
ac_cv_func_killpg=${ac_cv_func_killpg=no}
ac_cv_func_lstat=${ac_cv_func_lstat=no}
ac_cv_func_mkstemp=${ac_cv_func_mkstemp=no}
ac_cv_func_modf=${ac_cv_func_modf=no}
ac_cv_func_ruserpass=${ac_cv_func_ruserpass=no}
ac_cv_func_sethostent=${ac_cv_func_sethostent=no}
ac_cv_func_sigaction=${ac_cv_func_sigaction=no}
ac_cv_func_sigblock=${ac_cv_func_sigblock=no}
ac_cv_func_sighold=${ac_cv_func_sighold=no}
ac_cv_func_sigprocmask=${ac_cv_func_sigprocmask=no}
ac_cv_func_sigrelse=${ac_cv_func_sigrelse=no}
ac_cv_func_sigsetmask=${ac_cv_func_sigsetmask=no}
ac_cv_func_snprintf=${ac_cv_func_snprintf=no}
ac_cv_func_socket=${ac_cv_func_socket=no}
ac_cv_func_strdup=${ac_cv_func_strdup=no}
ac_cv_func_strerror=${ac_cv_func_strerror=no}
ac_cv_func_tzset=${ac_cv_func_tzset=no}
ac_cv_func_uname=${ac_cv_func_uname=no}
ac_cv_func_vfork_works=${ac_cv_func_vfork_works=no}
ac_cv_func_wait3=${ac_cv_func_wait3=no}
ac_cv_func_waitpid=${ac_cv_func_waitpid=no}
ac_cv_func_writev=${ac_cv_func_writev=no}
ac_cv_header_arpa_ftp_h=${ac_cv_header_arpa_ftp_h=yes}
ac_cv_header_arpa_inet_h=${ac_cv_header_arpa_inet_h=yes}
ac_cv_header_crypt_h=${ac_cv_header_crypt_h=yes}
ac_cv_header_db1_ndbm_h=${ac_cv_header_db1_ndbm_h=no}
ac_cv_header_dirent_dirent_h=${ac_cv_header_dirent_dirent_h=yes}
ac_cv_header_errno_h=${ac_cv_header_errno_h=yes}
ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h=yes}
ac_cv_header_libio_h=${ac_cv_header_libio_h=no}
ac_cv_header_limits_h=${ac_cv_header_limits_h=yes}
ac_cv_header_locale_h=${ac_cv_header_locale_h=yes}
ac_cv_header_memory_h=${ac_cv_header_memory_h=yes}
ac_cv_header_netdb_h=${ac_cv_header_netdb_h=yes}
ac_cv_header_stat_broken=${ac_cv_header_stat_broken=no}
ac_cv_header_stdc=${ac_cv_header_stdc=no}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h=yes}
ac_cv_header_string_h=${ac_cv_header_string_h=yes}
ac_cv_header_sys_param_h=${ac_cv_header_sys_param_h=yes}
ac_cv_header_sys_ptem_h=${ac_cv_header_sys_ptem_h=no}
ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes}
ac_cv_header_sys_utsname_h=${ac_cv_header_sys_utsname_h=yes}
ac_cv_header_sys_wait_h=${ac_cv_header_sys_wait_h=yes}
ac_cv_header_termcap_h=${ac_cv_header_termcap_h=no}
ac_cv_header_termio_h=${ac_cv_header_termio_h=yes}
ac_cv_header_termios_h=${ac_cv_header_termios_h=yes}
ac_cv_header_time=${ac_cv_header_time=yes}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes}
ac_cv_header_vfork_h=${ac_cv_header_vfork_h=no}
ac_cv_lib_curses_tgetent=${ac_cv_lib_curses_tgetent=no}
ac_cv_lib_dbm_dbm_open=${ac_cv_lib_dbm_dbm_open=no}
ac_cv_lib_dir_opendir=${ac_cv_lib_dir_opendir=no}
ac_cv_lib_fl_yywrap=${ac_cv_lib_fl_yywrap=no}
ac_cv_lib_m_modf=${ac_cv_lib_m_modf=no}
ac_cv_lib_mkstemp_mkstemp=${ac_cv_lib_mkstemp_mkstemp=no}
ac_cv_lib_ncurses_tgetent=${ac_cv_lib_ncurses_tgetent=no}
ac_cv_lib_ndbm_dbm_open=${ac_cv_lib_ndbm_dbm_open=no}
ac_cv_lib_nsl_gethostbyname=${ac_cv_lib_nsl_gethostbyname=no}
ac_cv_lib_resolv_gethostbyname=${ac_cv_lib_resolv_gethostbyname=no}
ac_cv_lib_socket__ruserpass=${ac_cv_lib_socket__ruserpass=no}
ac_cv_lib_socket_socket=${ac_cv_lib_socket_socket=no}
ac_cv_lib_termcap_tgetent=${ac_cv_lib_termcap_tgetent=no}
ac_cv_path_cutpath=${ac_cv_path_cutpath=/usr/bin/cut}
ac_cv_path_install=${ac_cv_path_install='/usr/ug/bin/ginstall -c'}
ac_cv_path_lspath=${ac_cv_path_lspath=/usr/bin/ls}
ac_cv_path_morepath=${ac_cv_path_morepath=/usr/bin/more}
ac_cv_path_sendmailpath=${ac_cv_path_sendmailpath=/usr/lib/sendmail}
ac_cv_path_vipath=${ac_cv_path_vipath=/usr/bin/vi}
ac_cv_prog_AWK=${ac_cv_prog_AWK=gawk}
ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
ac_cv_prog_LEX=${ac_cv_prog_LEX=flex}
ac_cv_prog_LORDER=${ac_cv_prog_LORDER=lorder}
ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=:}
ac_cv_prog_TSORT=${ac_cv_prog_TSORT=tsort}
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes}
ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
ac_cv_struct_st_blksize=${ac_cv_struct_st_blksize=yes}
ac_cv_type_mode_t=${ac_cv_type_mode_t=yes}
ac_cv_type_off_t=${ac_cv_type_off_t=yes}
ac_cv_type_pid_t=${ac_cv_type_pid_t=yes}
ac_cv_type_signal=${ac_cv_type_signal=void}
ac_cv_type_size_t=${ac_cv_type_size_t=yes}
ac_cv_type_uid_t=${ac_cv_type_uid_t=yes}
nmh_cv_attvibug=${nmh_cv_attvibug=yes}
nmh_cv_decl_ospeed_include_defines=${nmh_cv_decl_ospeed_include_defines=no}
nmh_cv_decl_ospeed_must_define=${nmh_cv_decl_ospeed_must_define=no}
nmh_cv_header_sys_ioctl_h_tiocgwinsz=${nmh_cv_header_sys_ioctl_h_tiocgwinsz=no}
nmh_cv_header_termios_h_tiocgwinsz=${nmh_cv_header_termios_h_tiocgwinsz=no}
nmh_cv_ls_grpopt=${nmh_cv_ls_grpopt=-l}
nmh_cv_ls_mail_grp=${nmh_cv_ls_mail_grp=mail}
nmh_cv_mailspool=${nmh_cv_mailspool=/var/mail}
nmh_cv_mailspool_world_writable=${nmh_cv_mailspool_world_writable=no}
nmh_cv_path_signal_h=${nmh_cv_path_signal_h=/usr/include/sys/signal.h}
nmh_cv_struct_tm_gmtoff=${nmh_cv_struct_tm_gmtoff=no}
nmh_cv_sys_posix_termios=${nmh_cv_sys_posix_termios=no}
nmh_cv_type_sigset_t=${nmh_cv_type_sigset_t=yes}