Commit Graph

142 Commits

Author SHA1 Message Date
Pavel Roskin
3ae4968af4 Pass all substitutions to AC_CONFIG_FILES, sort and reformat them
Passing arguments to AC_OUTPUT is obsolete.

Remove commented out configure code.
2016-11-18 00:35:33 +00:00
Jay Sorg
9e9ae2fa1f fix a typo in .pc file 2016-11-17 11:59:42 -08:00
Jay Sorg
50db3bb983 add pkgconfig xrdp.pc file 2016-11-17 11:57:10 -08:00
Pavel Roskin
5465b8c85e Add socklen_t check with substitution, use socklen_t as needed 2016-09-08 20:26:19 -07:00
Jay Sorg
d35e57b117 Pixman fixes 2016-08-11 22:18:26 -07:00
Jay Sorg
58c777783b add more advances region support using pixman 2016-08-08 20:02:10 -07:00
jsorg71
8353baab3d Merge pull request #390 from proski/june21
Cleanups and C++ compatibility
2016-08-05 14:38:41 -07:00
Jay Sorg
9ccbfb6985 chansrv: added mp3 compression from Speidy 2016-07-13 17:44:07 -07:00
Pavel Roskin
a680d46edf Use -Wwrite-strings compiler flag if supported, add required macros
String literals are const in C++. Using this warnings moves us closer to
the stated goal of C++ compatibility, makes the code cleaner and lets
compilers optimize the code better.

Add m4/ax_append_compile_flags.m4 from Autoconf Archives for the
AX_APPEND_COMPILE_FLAGS macro and m4/ax_check_compile_flag.m4 as its
dependency.
2016-07-08 04:29:40 +00:00
Pavel Roskin
9091c3eef2 Annotate printf-like functions if supported by the compiler
Both GCC and Clang support it. Add a macro from Autoconf archive to check
for format attribute support.
2016-03-03 22:56:09 -08:00
Pavel Roskin
4da6f8a538 Enable -Wall flag for compilers that support it
Add Autoconf archive macros to check for -Wall and its dependencies.
Adjust m4/.gitignore to only ignore libtool macros.

Require Autoconf 2.65 for compatibility with Autoconf archive macros.
2016-03-03 22:56:09 -08:00
Pavel Roskin
dcab7552db Stop redefining libdir, use moduledir for ${libdir}/xrdp
libdir is for shared and static libraries. Some xrdp libraries are loaded
dynamically from a non-standard directory, so they are used like modules.

Having separate libdir and moduledir would eventually allow to separate
dynamically loaded modules from shared libraries.
2016-02-12 23:52:46 -08:00
Pavel Roskin
0e75e13b42 Automake 1.7.2 is the oldest version working with xrdp
Automake 1.6.x cannot deal with conditional EXTRA_LIBS. Automake 1.7 and
1.7.1 cannot deal with line continuation in SUBDIRS.

It is important to have correct requirements to know what Automake
features can be used.
2016-02-12 23:52:45 -08:00
Pavel Roskin
04fc814efd Use silent rules by default if supported by Automake
Silent rules make warnings stand out, so they are fixed early.
2016-02-12 23:52:45 -08:00
Pavel Roskin
3d8045d3aa Use AC_CONFIG_MACRO_DIR, not AC_CONFIG_MACRO_DIRS
AC_CONFIG_MACRO_DIRS requires a very recent Automake, much newer than the
declared version 1.6 (even 1.11 doesn't work). AC_CONFIG_MACRO_DIR is
defined by Autoconf starting with version 2.58, so it's within the
currently declared constraints.
2016-02-10 00:49:20 -08:00
Itamar Reis Peixoto
08121e0840 Merge pull request #254 from metalefty/freebsd/ipv6
Unbreak IPv6 on FreeBSD and add IPv6-only option
2016-02-08 22:40:05 -02:00
Pavel Roskin
00e70a5c54 Use standard autotools means to detect X11
Use AC_PATH_XTRA to search for X11 in configure.ac. In Makefiles, add
X_CFLAGS to AM_CFLAGS for the source compilation. Add X_LIBS to LDFLAGS.
Add X_PRE_LIBS and X_EXTRA_LIBS to LDADD.

With this patch, X Windows system is correctly detected on Mac OS X.
2016-01-30 17:18:52 -08:00
Pavel Roskin
2694fa9dac Create the m4 directory for Autoconf macro files
Keeping separate files is more maintainable than merging them into a
single aclocal.m4 file. It is easier for users to understand where those
files come from.

Automake knows how to distribute files in the m4 directory.
2016-01-29 23:41:40 -08:00
Pavel Roskin
ee1a237685 Remove GOT_PREFIX, it's a broken hack of limited utility
To add flags to the compiler, CFLAGS, CPPFLAGS or LDFLAGS can be used on
the configure command line.

The need to add flags depends on the location of the headers and
libraries of the dependencies, which is orthogonal to the directory where
xrdp will be installed.

The implementation in configure.ac has a stray closing bracket, making
GOT_PREFIX true even if --prefix is not passed.

The implementation is inconsistent - the only affected makefiles are for
xrdp and libxrdp.

Changing rpath manually is wrong in most cases. Libtool should be able to
set rpath correctly on its own.

Using $(prefix)/lib ignores the libdir setting. For many 64-bit systems,
/usr/lib is used for 32-bit libraries. Adding 32-bit libraries to the
rpath slows down 64-bit executables, as the dynamic loader searches for
libraries in a wrong directory.

There is no way to disable GOT_PREFIX if --prefix has to be passed.
Fedora RPM patches configure.ac and needs to rerun autoconf and automake
after that.
2016-01-26 22:36:59 -08:00
Koichiro IWAO
2a317d3db8 Update mailing list address 2015-12-22 18:26:56 +09:00
Koichiro IWAO
536ee41c5e common: add --enable-ipv6only option 2015-07-02 15:08:56 +09:00
Koichiro IWAO
5bc0453605 common: drop ipv6 autodetection only valid for linux 2015-07-02 15:08:55 +09:00
Koichiro IWAO
0f8f03e9cf instfiles: merge rc script from FreeBSD
- merge rc script from FreeBSD
- modify Makefile.am to detect OS and install suitable files
2015-06-18 16:25:39 +09:00
jsorg71
b55231f18a Merge pull request #226 from metalefty/freebsd/openpam
xrdp: xrdp_mm.c detect and use OpenPAM
2015-04-01 22:15:17 -07:00
Koichiro IWAO
67cad0d374 configure: use PKG_CHECK_MODULES to check fuse
fuse has fuse.pc file for pkg-config. this is more reliable.
2015-03-18 02:40:15 +00:00
Koichiro IWAO
283a16115a xrdp: xrdp_mm.c detect and use OpenPAM
OpenPAM is used in FreeBSD, NetBSD, DragonFly BSD and Mac OS X.
On the Linux system, Linux-PAM is used.  Detect PAM during configure
and use which the system has.
2015-03-16 15:01:25 +09:00
Koichiro IWAO
278e957dd7 common: add experimental --enable-ipv6 option 2015-03-10 14:05:13 +09:00
Jay Sorg
2f5b84b712 chansrv: added opus audio compression for playback 2015-01-09 23:31:28 -08:00
Renaud Allard
803af49a04 Some fixes to compile properly since this version has change a lot from 0.6.1 2014-11-21 15:00:01 +01:00
Renaud Allard
618ca587a5 Enable authenticate user using BSD password system 2014-11-21 14:22:15 +01:00
Michał Górny
b2d324f770 configure: Ensure PKG_CONFIG before querying systemd unit path
Use PKG_PROG_PKG_CONFIG to ensure that $PKG_CONFIG is set before it is
used to query the systemd unit install path.
2014-10-28 22:58:04 +01:00
Michał Górny
dba0070360 configure: Add --disable-pam and deprecate --enable-nopam
Use simple logic for PAM control to avoid confusion and double
negations. Keep --enable-nopam deprecated for backwards compatibility.
2014-10-28 22:57:22 +01:00
Michał Górny
2eb930e601 configure: Correct the use of AC_ARG_ENABLE() macro
Fix the use of AC_ARG_ENABLE() so that --disable-foo configure options
are respected.

The third and fourth arguments of AC_ARG_ENABLE are respectively
ACTION-IF-GIVEN and ACTION-IF-NOT-GIVEN. The former is executed if
either --enable-foo or --disable-foo is specified on command line, the
latter if neither is. Additionally, the specified value is stored in
$enable_foo variable.

Therefore, the common practice is to provide null ACTION-IF-GIVEN
(and use the value of $enable_foo), and to set a default for $enable_foo
in ACTION-IF-NOT-GIVEN. The commit does that, and adjusts the further
conditionals to test $enable_foo properly.
2014-10-27 23:22:22 +01:00
Jay Sorg
7d5f7d1133 added --enable-rfxcodec 2014-07-10 20:14:40 -07:00
Jay Sorg
17bbecabd3 chansrv: remove simple sound and load pulse modules 2014-06-07 20:15:14 -07:00
Jay Sorg
1d1eb037f3 added defautl.pa 2014-05-20 00:50:41 -07:00
Laxmikant Rashinkar
ede019a525 changed turbojpeg help message in configure.ac 2014-03-24 17:55:04 -07:00
Jay Sorg
8870c6b1fc opps, it's enable_tjpeg, not enable_tpeg 2014-03-24 12:19:38 -07:00
Jay Sorg
e270ccbde7 only check for tjpeg if --enable-tjpeg is passed 2014-03-24 12:03:17 -07:00
Laxmikant Rashinkar
1b3dd12568 addec checks for TurboJPEG in autoconf 2014-03-23 17:45:40 -07:00
Jay Sorg
3e7fbe9641 added a check for xrandr devel files 2014-03-17 13:12:46 -07:00
Jay Sorg
3baa5ffa23 update version 2014-03-01 23:20:08 -08:00
Laxmikant Rashinkar
76a0901964 o --enable-load_pulse_modules changed to --enable-loadpulsemodules
o color entries in xrdp.ini file are now specfied using RGB format only
o login screen now works with pixel depth of 8, 15, 16 and 24 bits
2014-02-23 18:03:31 -08:00
Laxmikant Rashinkar
82b7ccae96 we now load module-xrdp-sink/source automatically so user's dont have to mess around with configuring /etc/pulse/default.pa config file 2014-01-12 12:09:15 -08:00
Jay Sorg
7a484c1a79 when using --enable-xrdpdebug turn off compiler optimazations 2013-10-24 11:21:13 -07:00
Jay Sorg
6fcf380ead added a --enable-tjpeg option for turbo jpeg 2013-09-16 11:14:48 -07:00
speidy
da7a005a59 neutirnordp: purge old freerdp modules from autoconf 2013-08-24 18:19:45 +03:00
Jay Sorg
d1638006f1 replace macro AM_CONFIG_HEADER with AC_CONFIG_HEADERS 2013-06-12 01:08:42 -07:00
Jay Sorg
64fabbad68 got neutrinordp module building 2013-05-03 02:07:02 -07:00
Jay Sorg
9afa221f71 Merge branch 'master' of github.com:FreeRDP/xrdp 2013-04-22 10:55:13 -07:00
Jay Sorg
54463affaf autodetect ipv6 2013-04-03 00:54:52 -07:00
Gustavo Homem
4c24a5605d Changes related to integration 2013-03-18 22:06:10 +00:00
Guan-Zhong Huang
6fd7deb510 Fix compilation error without PAM 2013-03-09 13:55:21 +08:00
Jay Sorg
585beebf3e do not build xrdpvr unless --enable-xrdpvr is used 2012-11-10 17:53:08 -08:00
Laxmikant Rashinkar
edf5971cef o in login dialog set sesman-X11rdp as the default module
o added support for video redirection without using TSMF
2012-11-09 19:55:21 -08:00
Jay Sorg
cdb039080f chansrv: added --enable-fuse option 2012-11-02 23:10:36 -07:00
Jay Sorg
e9aa5df420 xrdpapi: added library skel 2012-08-02 10:48:59 -07:00
Itamar Reis Peixoto
a3d63eb5e0 add systemd support into xrdp 2012-05-26 14:15:45 -03:00
Jay Sorg
7fa4f936e4 chansrv: simple pulse audio support 2012-05-25 12:36:55 -07:00
Jay Sorg
6333cdd865 added non standard jpeg support off by default 2012-04-07 22:41:46 -07:00
Jay Sorg
209720fe1a libxrdp: user freerdp mppc compressor 2012-04-05 15:40:46 -07:00
Jay Sorg
93939893de remove old freerdp dir 2012-02-13 23:31:11 -08:00
Jay Sorg
fd5ee6570a added freerdp1 module 2012-02-07 11:51:09 -08:00
Itamar Reis Peixoto
0ed29ac0cc remove unused else from configure.ac 2010-11-23 14:24:22 -02:00
Itamar Reis Peixoto
16b198d9f2 check if freerdp-devel is installed and use it 2010-11-21 00:14:38 -02:00
Itamar Reis Peixoto
459631dc5f include fedora package names in messages about missing dependencies 2010-11-20 22:13:50 -02:00
Jay Sorg
8a4a729a1b added --enable-freerdp configure option 2010-11-19 21:19:39 -08:00
Jay Sorg
4d4f80bfc4 work on freerdp 2010-11-19 20:34:20 -08:00
Nicola Ruggero
87297c5014 Version up to 0.6.0 2010-11-03 17:09:13 +01:00
jsorg71
f312c16a8a added debug configure option 2010-03-17 22:06:50 +00:00
jsorg71
cbcb7a1bf3 add stdlib.h for openssl check 2009-10-15 19:22:57 +00:00
jsorg71
bfdb88062c another try 2009-10-11 05:33:30 +00:00
jsorg71
b8dae1f11f added 4th parameter 2009-10-11 05:23:30 +00:00
jsorg71
c06f9a51be check for Xlib.h and Xfixes.h at once 2009-10-11 05:09:42 +00:00
jsorg71
b146f429fd added check for required header files 2009-10-09 18:20:56 +00:00
jsorg71
2df913f8ae added genkeymap app 2009-08-12 02:49:53 +00:00
jsorg71
553036d4e9 fix make install error 2009-07-23 04:22:43 +00:00
jsorg71
23ffdb0c5f autotools fix and file_loc.h simplified 2009-05-19 04:23:49 +00:00
jsorg71
631a7c16e1 added chansrv 2009-04-19 17:16:46 +00:00
jsorg71
ffee44d518 autotools for sessvc 2008-11-25 04:14:37 +00:00
jsorg71
c3c6b39e3d fix for older auto tools 2008-11-02 21:27:42 +00:00
jsorg71
da73aee4c0 when no prefix, install to /etc and add instfiles 2008-08-17 07:13:41 +00:00
jsorg71
d6cf451327 added docs 2008-08-17 03:13:40 +00:00
jsorg71
f21ec3aba4 filename change 2008-08-15 03:49:36 +00:00
jsorg71
616d065e87 remove lib version 2008-08-15 03:08:28 +00:00
jsorg71
f77934a58e remove lib version 2008-08-15 02:49:41 +00:00
jsorg71
16f8932ee5 add some defines, change libdir and version 2008-08-12 05:19:59 +00:00
jsorg71
4ae9c90a50 add tools subdir 2008-08-10 18:01:51 +00:00
jsorg71
c691bf9965 add keygen 2008-08-10 07:43:55 +00:00
jsorg71
a2f6ba07b2 change config.h to config_ac.h 2008-08-10 06:22:11 +00:00
jsorg71
e5796ac8a0 added sesman auth options 2008-08-09 08:35:05 +00:00
jsorg71
d703a49c9c autotools 2008-08-03 07:30:03 +00:00