ArcticaProject / nx-libs

nx-libs
Other
120 stars 39 forks source link

libNX_X11: -DHAS_FCHOWN is missing #782

Open uli42 opened 5 years ago

uli42 commented 5 years ago

(this is one part of #769, split into a separate issue).

I have compared how libNX_X11 sources are compiled using autotools and how they used to be compiled using Imake. I found-DHAS_FCHOWN is missing.

Affected files:

ConnDis.c: -DHASXDMAUTH -DSECURE_RPC  -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN    -DFAIL_HARD -DXTRANS_SEND_FDS=0
XlibInt.c: -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DFAIL_HARD -DXTRANS_SEND_FDS=0
globals.c: -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN
x11_trans.c: -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DFAIL_HARD -DXTRANS_SEND_FDS=0
xim_trans.c: -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DFAIL_HARD -DXTRANS_SEND_FDS=0
imTransR.c -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DFAIL_HARD -DXTRANS_SEND_FDS=0
ImTrans.c: -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN  -DFAIL_HARD -DXTRANS_SEND_FDS=0
uli42 commented 5 years ago

The referenced branch ought to fix this, but unfortunately it lead to this autoconf error:

m4/nx-xtrans.m4:177: error: _AC_LANG_ABBREV: unknown language: _AC_LANG
../../lib/autoconf/lang.m4:141: _AC_LANG_ABBREV is expanded from...
../../lib/autoconf/functions.m4:59: AC_CHECK_FUNC is expanded from...

I have not found a way to fix this yet...