Skip to content

back: find the auxiliary files when GNUSTEP_MAKEFILES is unset#162

Open
DTW-Thalion wants to merge 1 commit into
gnustep:masterfrom
DTW-Thalion:fix/gnustep-makefiles-aux-dir
Open

back: find the auxiliary files when GNUSTEP_MAKEFILES is unset#162
DTW-Thalion wants to merge 1 commit into
gnustep:masterfrom
DTW-Thalion:fix/gnustep-makefiles-aux-dir

Conversation

@DTW-Thalion

Copy link
Copy Markdown
Contributor

Closes #54.

configure passed the GNUSTEP_MAKEFILES variable straight to AC_CONFIG_AUX_DIR, but the generated configure searches for config.guess and config.sub before the shell code that sets GNUSTEP_MAKEFILES from gnustep-config runs. With GNUSTEP_MAKEFILES unset in the environment, configure then failed with cannot find required auxiliary files.

Resolve the makefiles directory inline in the AC_CONFIG_AUX_DIR argument, the way gnustep-base already does, so the auxiliary files are found whether or not GNUSTEP_MAKEFILES is set. The generated configure is updated to match (rather than regenerated, since it was produced with a different autoconf version than is available here; the inline argument text matches gnustep-base's shipped configure).

Verified: with GNUSTEP_MAKEFILES unset, the current configure fails with the auxiliary-files error, and with this change it completes and creates config.make. The normal case with GNUSTEP_MAKEFILES set is unaffected.

configure passed the GNUSTEP_MAKEFILES variable straight to
AC_CONFIG_AUX_DIR, but the generated configure searches for config.guess
and config.sub before the shell code that sets GNUSTEP_MAKEFILES from
gnustep-config has run.  With GNUSTEP_MAKEFILES unset in the environment
configure then failed with "cannot find required auxiliary files".

Resolve the makefiles directory inline in the AC_CONFIG_AUX_DIR argument,
the way gnustep-base already does, so the auxiliary files are found whether
or not GNUSTEP_MAKEFILES is set in the environment.  The generated configure
is updated to match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

GNUSTEP_MAKEFILES needs to be set earlier

1 participant