*** configure.in.orig Wed Feb 21 23:19:19 2001 --- configure.in Wed Feb 21 23:20:40 2001 *************** *** 217,222 **** --- 217,227 ---- tcsh_config_file=sysv4 ;; + ## Apollo Domain/OS + *-apollo-*) + tcsh_config_file=apollo + ;; + * ) changequote([, ])dnl AC_MSG_ERROR([Tcsh can't guess the configuration file name *** configure.orig Wed Feb 21 23:19:13 2001 --- configure Wed Feb 21 23:19:56 2001 *************** *** 773,778 **** --- 773,783 ---- tcsh_config_file=sysv4 ;; + ## Apollo Domain/OS + *-apollo-*) + tcsh_config_file=apollo + ;; + * ) { echo "configure: error: Tcsh can't guess the configuration file name for \`${host}' systems. *** tw.parse.c.orig Thu Feb 22 00:20:09 2001 --- tw.parse.c Thu Feb 22 01:13:54 2001 *************** *** 1779,1784 **** --- 1779,1791 ---- new[0] = '\0'; return NULL; } + #ifdef apollo + /* Special case: if the home directory expands to "/", we do + * not want to create "//" by appending a slash from o. + */ + if (new[0] == '/' && new[1] == '\0' && *o == '/') + ++o; + #endif /* apollo */ (void) Strcat(new, o); return new;