diff options
| author | Paul Eggert | 2019-04-25 08:50:50 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-04-25 08:51:19 -0700 |
| commit | 30030945c30c4710d0d70cabad9d1b512cede0ee (patch) | |
| tree | 40bf937b40a5bb4deb38a3b38dd908e9a53607bd /lib-src | |
| parent | efb8921a574437aed6209695891c14860bd55f51 (diff) | |
| download | emacs-30030945c30c4710d0d70cabad9d1b512cede0ee.tar.gz emacs-30030945c30c4710d0d70cabad9d1b512cede0ee.zip | |
Port emacsclient euidaccess to Solaris 10
Without this fix, linking emacsclient fails with ‘Undefined
symbol eaccess’ on Solaris 10 sparc.
* lib-src/Makefile.in (LIB_EACCESS): New macro.
(emacsclient${EXEEXT}, emacsclientw${EXEEXT}): Use it.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 387a6e33249..b5b55b848eb 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -204,6 +204,8 @@ LIBRESOLV=@LIBRESOLV@ | |||
| 204 | LIBS_MAIL=@LIBS_MAIL@ | 204 | LIBS_MAIL=@LIBS_MAIL@ |
| 205 | ## empty or -lrt or -lposix4 if HAVE_CLOCK_GETTIME | 205 | ## empty or -lrt or -lposix4 if HAVE_CLOCK_GETTIME |
| 206 | LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@ | 206 | LIB_CLOCK_GETTIME = @LIB_CLOCK_GETTIME@ |
| 207 | ## Whatever libraries are needed for euidaccess | ||
| 208 | LIB_EACCESS=@LIB_EACCESS@ | ||
| 207 | ## empty or -lwsock2 for MinGW | 209 | ## empty or -lwsock2 for MinGW |
| 208 | LIB_WSOCK32=@LIB_WSOCK32@ | 210 | LIB_WSOCK32=@LIB_WSOCK32@ |
| 209 | 211 | ||
| @@ -398,12 +400,12 @@ pop.o: ${srcdir}/pop.c ${srcdir}/pop.h ${srcdir}/../lib/min-max.h $(config_h) | |||
| 398 | emacsclient${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(config_h) | 400 | emacsclient${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(config_h) |
| 399 | $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< \ | 401 | $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $< \ |
| 400 | -DVERSION="\"${version}\"" $(NTLIB) $(LOADLIBES) \ | 402 | -DVERSION="\"${version}\"" $(NTLIB) $(LOADLIBES) \ |
| 401 | $(LIB_WSOCK32) $(LIBS_ECLIENT) -o $@ | 403 | $(LIB_WSOCK32) $(LIB_EACCESS) $(LIBS_ECLIENT) -o $@ |
| 402 | 404 | ||
| 403 | emacsclientw${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(CLIENTRES) $(config_h) | 405 | emacsclientw${EXEEXT}: ${srcdir}/emacsclient.c $(NTLIB) $(CLIENTRES) $(config_h) |
| 404 | $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $(CLIENTRES) -mwindows $< \ | 406 | $(AM_V_CCLD)$(CC) ${ALL_CFLAGS} $(CLIENTRES) -mwindows $< \ |
| 405 | -DVERSION="\"${version}\"" $(LOADLIBES) \ | 407 | -DVERSION="\"${version}\"" $(LOADLIBES) \ |
| 406 | $(LIB_WSOCK32) $(LIBS_ECLIENT) -o $@ | 408 | $(LIB_WSOCK32) $(LIB_EACCESS) $(LIBS_ECLIENT) -o $@ |
| 407 | 409 | ||
| 408 | NTINC = ${srcdir}/../nt/inc | 410 | NTINC = ${srcdir}/../nt/inc |
| 409 | NTDEPS = $(NTINC)/ms-w32.h $(NTINC)/sys/stat.h $(NTINC)/inttypes.h \ | 411 | NTDEPS = $(NTINC)/ms-w32.h $(NTINC)/sys/stat.h $(NTINC)/inttypes.h \ |