70 # for initial bringup of new emacs versions, but can only be used up through |
70 # for initial bringup of new emacs versions, but can only be used up through |
71 # the 'gmake build' stage. |
71 # the 'gmake build' stage. |
72 # |
72 # |
73 #CONFIGURE_PREFIX = $(PROTO_DIR)/usr |
73 #CONFIGURE_PREFIX = $(PROTO_DIR)/usr |
74 |
74 |
|
75 # configure env common to all variants of emacs that we want to build. |
|
76 CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
|
77 |
75 # The configure script runs the pkg-config command. This allows it to |
78 # The configure script runs the pkg-config command. This allows it to |
76 # find the non-default GnuTLS v3 library. |
79 # find the non-default GnuTLS v3 library. |
77 CONFIGURE_ENV += PKG_CONFIG_PATH=/usr/lib/$(MACH64)/pkgconfig/gnutls-3 |
80 CONFIGURE_ENV += PKG_CONFIG_PATH=/usr/lib/$(MACH64)/pkgconfig/gnutls-3 |
78 |
81 |
79 # Never use xmkmf to find X11 libraries from autoconf. They are all available |
82 # Never use xmkmf to find X11 libraries from autoconf. They are all available |
80 # from standard system locations, and we don't want the ld -L option that |
83 # from standard system locations, and we don't want the ld -L option that |
81 # gets injected. |
84 # gets injected. |
82 CONFIGURE_ENV += XMKMF="false" |
85 CONFIGURE_ENV += XMKMF="false" |
83 |
86 |
84 # configure options common to all variants of emacs that we want to build. |
87 # configure options common to all variants of emacs that we want to build. |
85 CONFIGURE_OPTIONS += CC="$(CC) -m64" |
|
86 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
88 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
87 CONFIGURE_OPTIONS += --datarootdir=$(CONFIGURE_PREFIX)/share |
89 CONFIGURE_OPTIONS += --datarootdir=$(CONFIGURE_PREFIX)/share |
88 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/lib |
90 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_PREFIX)/lib |
89 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.32) |
91 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.32) |
90 CONFIGURE_OPTIONS += --with-gif=no |
92 CONFIGURE_OPTIONS += --with-gif=no |