Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure.ac need AC_PROG_SED macro #101

Open
snowflake opened this issue Jan 17, 2025 · 0 comments
Open

configure.ac need AC_PROG_SED macro #101

snowflake opened this issue Jan 17, 2025 · 0 comments

Comments

@snowflake
Copy link

My system is x86_64-apple-darwin15.6.0 (macOS 10.11.6)

As you can see. it is quite out of date.
I use autoconf 2.72 and automake 1.17
Both are installed with Macports.
I don't use Homebrew.

Git checkout is 535c64a
This is the master as of today.

Everything mostly builds OK, except for
the doc/Makefile. The SED variable is not defined so that

mactelnetd.1: mactelnetd.1.in
        $(AM_V_GEN)$(SED) -e 's|@sysconfdir[@]|$(sysconfdir)|g' mactelnetd.1.in > $@

does not work. mactelnetd.1 is a zero-length file.

I fixed the problem by placing AC_PROG_SED in configure.ac
I don't know the approved location for this macro as my knowledge of autoconf and automake
is not great.

I have another Mac running x86_64-apple-darwin24.2.0 ( macOS 15.2).
It has the same versions of autoconf and automake as my old system.
It works without AC_PROG_SED in configure.ac. I don't know why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant