3
dnl $Id: configure.ac 16658 2008-12-09 15:27:21Z romw $
5
dnl NOTE: on milkyway.ssl and jill.ssl , need autoconf/automake et al from quarls
6
dnl directory; the _autosetup script does this.
3
dnl $Id: configure.ac 22812 2010-12-02 20:41:31Z romw $
8
5
dnl not sure exactly what the minimum version is (but 2.13 wont work)
11
8
dnl Set the BOINC version here. You can also use the set-version script.
10
AC_CONFIG_MACRO_DIR([m4])
13
11
LIBBOINC_VERSION=`echo ${PACKAGE_VERSION} | sed 's/\./:/g'`
14
12
AC_SUBST([LIBBOINC_VERSION])
18
AS_HELP_STRING([--enable-debug],
19
[enable tracing and debugging flags for all components]),
20
[enable_debug="$enableval"],
23
AC_ARG_ENABLE(unicode,
24
AS_HELP_STRING([--enable-unicode],
25
[enable building the manager with unicode support]),
26
[enable_unicode="$enableval"],
16
dnl generate .tar.gz, .tar.bz2, .zip
17
dnl AM_INIT_AUTOMAKE(dist-bzip2 dist-zip)
18
AM_INIT_AUTOMAKE(dist-zip)
20
AC_CONFIG_SRCDIR(lib/shmem.cpp)
22
AC_REVISION([$Revision: 22812 $])
23
REV=`echo '$Revision: 22812 $' | awk "{print $2}"`
24
RDATE=`date '+%Y.%m.%d'`
25
if test -d .svn ; then
26
REV=`svn info | grep Revision | awk '{print $2}'`
27
RDATE=`svn info | grep "Last Changed Date:" | awk '{print $4}' | sed 's/-/./g'`
32
dnl turn dependency tracking on by default
33
if test x${enable_dependency_tracking} != xno ; then
34
enable_dependency_tracking=yes
37
dnl Checks for programs.
47
m4_divert_once([HELP_ENABLE],
48
AS_HELP_STRING([BOINC Default enable values], [--enable-server --enable-client --enable-libraries --enable-manager: builds server, client, and libraries]))
50
AC_ARG_ENABLE(dynamic-client-linkage,
51
AS_HELP_STRING([--enable-dynamic-client-linkage],
52
[dynamically link the client to the boinc libraries]),
53
[dynamic_client=${enableval}],
29
56
AC_ARG_ENABLE(server,
30
57
AS_HELP_STRING([--disable-server],
31
58
[disable building the scheduling server]),
59
[enable_server=${enableval}],
33
60
[enable_server=yes])
63
AS_HELP_STRING([--disable-fcgi],
64
[disable building fcgi libraries or server components]),
65
[enable_fcgi=${enableval}],
66
[enable_fcgi=${enable_server}])
35
68
AC_ARG_ENABLE(client,
36
69
AS_HELP_STRING([--disable-client],
37
70
[disable building the client]),
71
[enable_client=${enableval}],
39
72
[enable_client=yes])
41
m4_divert_once([HELP_ENABLE],
42
AS_HELP_STRING([], [Default: --enable-server --enable-client:
43
builds both server and client]))
45
if test "${enable_server}" = yes ; then
46
if test "${enable_client}" = yes ; then
47
configured_to_build='server & client'
49
configured_to_build='server only'
52
if test "${enable_client}" = yes ; then
53
configured_to_build='client only'
55
configured_to_build='libraries only'
74
AC_ARG_ENABLE(manager,
75
AS_HELP_STRING([--disable-manager],
76
[disable building the boinc manager gui]),
77
[enable_manager=${enableval}],
80
AC_ARG_ENABLE(libraries,
81
AS_HELP_STRING([--disable-libraries],
82
[disable building the boinc client and server libraries]),
83
[enable_libraries=${enableval}],
84
[enable_libraries=yes])
86
AC_ARG_ENABLE(install-headers,
87
AS_HELP_STRING([--disable-install-headers],
88
[if building libraries do not install the boinc library
90
[enable_install_headers=${enableval}],
91
[enable_install_headers=yes])
93
AC_ARG_ENABLE(pkg-libs,
94
AS_HELP_STRING([--enable-pkg-libs],
95
[Builds and installs components that would be present in a
96
boinc-libs package. This is a synonym for --disable-server
97
--disable-client --enable-libraries --disable-static
98
--disable-install-headers --disable-manager]),
104
enable_install_headers=no
109
AC_ARG_ENABLE(pkg-devel,
110
AS_HELP_STRING([--enable-pkg-devel],
111
[Builds and installs components that would be present in a
112
boinc-devel package. This is a synonym for --disable-server
113
--disable-client --enable-libraries --enable-install-headers
120
enable_install_headers=yes
124
AC_ARG_ENABLE(pkg-client,
125
AS_HELP_STRING([--enable-pkg-client],
126
[Builds and installs components that would be present in a
127
boinc-client package. This is a synonym for --disable-server
128
--enable-client --disable-libraries --disable-manager
135
enable_install_headers=no
139
AC_ARG_ENABLE(pkg-manager,
140
AS_HELP_STRING([--enable-pkg-manager],
141
[Builds and installs components that would be present in a boinc-manager package. This is a synonym for --disable-server --disable-client --disable-libraries --enable-manager
148
enable_install_headers=no
152
BOINC_SET_COMPILE_FLAGS
156
if test x$enable_client = xyes ; then
157
configured_to_build="client"
159
if test x$enable_manager = xyes ; then
160
configured_to_build="${configured_to_build} manager"
162
if test x$enable_libraries = xyes ; then
163
configured_to_build="${configured_to_build} libraries"
165
if test x$enable_server = xyes ; then
166
configured_to_build="${configured_to_build} server"
169
if test -z "${configured_to_build}" ; then
171
================================================================================
172
ERROR: I have been told to build nothing.
174
Please remove one of the --disable commands from your
175
configure command line.
177
================================================================================
59
182
dnl ======================================================================
60
183
dnl some vodoo required for building portable client-binary (client, clientgui)
66
189
(On GNU/Linux you might need to use gcc-3.0 for this to produce a
67
190
binary that works for glibc <= 2.2 systems. => use CC=gcc-3.0 and CXX=g++-3.0)
69
[enable_client_release=yes;disable_static_linkage=no],
193
enable_client_release=yes
194
disable_static_linkage=no
197
================================================================================
198
WARNING: You have requested a statically linked release build.
200
This option is not recommended for personal use or for building
201
an application for distribution via a package management system.
202
It probably wont work unless you have built your own static curl
203
and wxWidgets libraries that have minimal dependencies. You may
204
also need to edit Makefiles manually in order for linking to work.
206
It is far better to use dynamic linkage, which can resolve most
207
library interdependencies at run time.
209
When the executable fails to link, and you can identify the missing
210
library, you can edit the Makefile to add it, or if there is a --with
211
option to configure, use it.
213
This is not easy. It is not supported. You have been warned.
214
================================================================================
216
echo Pausing 10 seconds...
70
220
[enable_client_release=no;disable_static_linkage=yes])
307
443
SAH_CHECK_LIB([nsl], [gethostbyname],
308
444
[BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${sah_lib_last}"])
309
445
#SAH_CHECK_LIB([wsock32], [fopen],
310
# [BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${sah_lib_last}"])
446
# [BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${sah_lib_last}"])
311
447
#SAH_CHECK_LIB([wsock], [fopen],
312
# [BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${sah_lib_last}"])
448
# [BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${sah_lib_last}"])
313
449
SAH_CHECK_LIB([socket], [bind],
314
450
[BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${sah_lib_last}"])
315
451
SAH_CHECK_LIB([z], [gzopen],
316
452
[BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${sah_lib_last}"])
317
453
SAH_CHECK_LIB([cups], [md5_finish],
318
454
[BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${sah_lib_last}"])
319
SAH_CHECK_LIB([curl], [curl_easy_init],
320
[BOINC_EXTRA_LIBS="${BOINC_EXTRA_LIBS} ${LIBCURL}"],, [${LIBCURL}])
322
456
LIBS=${SAVELIBS_AAF}
324
458
dnl check for pthread
325
459
ACX_PTHREAD(AC_DEFINE(HAVE_PTHREAD,1, [Have pthread]))
326
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
327
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
328
LIBS="$PTHREAD_LIBS $LIBS"
460
dnl There are better ways to do this.
461
dnl CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
462
dnl CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
463
dnl LIBS="$PTHREAD_LIBS $LIBS"
465
# find the install directories in case we need them.
466
if test "x${prefix}" = "xNONE" -o -z "${prefix}" ; then
467
prefix="${ac_default_prefix}"
469
if test "x${exec_prefix}" = "xNONE" -o -z "${exec_prefix}" ; then
470
exec_prefix="${prefix}"
472
if test "x${bindir}" = "xNONE" -o -z "${bindir}" ; then
473
bindir="${exec_prefix}/bin"
475
if test "x${libdir}" = "xNONE" -o -z "${libdir}" ; then
476
bindir="${exec_prefix}/lib"
479
AC_DEFINE_UNQUOTED(BOINC_PREFIX,"`eval echo ${prefix}`",[Directory tree where BOINC will be installed])
480
AC_DEFINE_UNQUOTED(BOINC_EXECPREFIX,"`eval echo ${bindir}`",[Directory where BOINC executables will be installed])
481
AC_DEFINE_UNQUOTED(BOINC_LIBDIR,"`eval echo ${libdir}`",[Directory where BOINC libraries will be installed])
331
483
dnl ---------- decide wether to build the graphical boinc-api libs or not
332
484
dnl check for X11
484
684
dnl ---------- wxWidgets --------------------------------------------------
488
dnl check for wxWidgets
490
if test "${enable_client_release}" = yes ; then
491
if test "${enable_debug}" = yes ; then
492
if test "${enable_unicode}" = yes ; then
493
echo 'Portable client-build: checking for debug unicode wx-libs ...'
494
AM_PATH_WXCONFIG([2.6.0], [wxWin=1], [wxWin=0], --static=yes --unicode=yes --debug=yes)
496
echo 'Portable client-build: checking for debug wx-libs ...'
497
AM_PATH_WXCONFIG([2.6.0], [wxWin=1], [wxWin=0], --static=yes --unicode=no --debug=yes)
500
if test "${enable_unicode}" = yes ; then
501
echo 'Portable client-build: checking for unicode wx-libs ...'
502
AM_PATH_WXCONFIG([2.6.0], [wxWin=1], [wxWin=0], --static=yes --unicode=yes --debug=no)
504
echo 'Portable client-build: checking for wx-libs ...'
505
AM_PATH_WXCONFIG([2.6.0], [wxWin=1], [wxWin=0], --static=yes --unicode=no --debug=no)
509
if test "${enable_debug}" = yes ; then
510
if test "${enable_unicode}" = yes ; then
511
echo 'checking for debug unicode wx-libs ...'
512
AM_PATH_WXCONFIG([2.6.0], [wxWin=1], [wxWin=0], --unicode=yes --debug=yes)
514
echo 'checking for debug wx-libs ...'
515
AM_PATH_WXCONFIG([2.6.0], [wxWin=1], [wxWin=0], --unicode=no --debug=yes)
518
if test "${enable_unicode}" = yes ; then
519
echo 'checking for unicode wx-libs ...'
520
AM_PATH_WXCONFIG([2.6.0], [wxWin=1], [wxWin=0], --unicode=yes --debug=no)
522
echo 'checking for wx-libs ...'
523
AM_PATH_WXCONFIG([2.6.0], [wxWin=1], [wxWin=0], --unicode=no --debug=no)
529
if ( test "${enable_client}" = yes ) && ( test "$wxWin" != 1 ); then
531
================================================================================
532
WARNING: A suitable installation of wxWidgets could not be found
533
==> building client without clientgui.
535
If you add wxWidgets to your system, then this configure script will also
536
configure your system to build the BOINC graphical client (clientgui).
538
If wxWidgets is installed on your system, please check that wx-config is
539
in the path, that the directory where wxWidgets libraries are installed
540
(returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH (or equivalent),
541
and that wxWidgets version is 2.6.0 or above. Currently wxWidgets version
542
2.6.0 (gtk based) is known to work with boinc_gui under Linux. You can
543
use wx-config --version to find what version you have currently installed.
545
NOTE: if building a portable client-release, you need the *static* version
546
of the wx-libs installed!
548
You can get wxWidgets by following the DOWNLOAD link at:
549
http://www.wxwindows.org/
550
================================================================================
554
AM_CONDITIONAL(BUILD_CLIENTGUI, [ test "$wxWin" = 1 -a "${enable_client}" = yes ])
556
dnl --------------------------------------------------------------------------------
685
if test "${enable_manager}" = yes ; then
686
BOINC_OPTIONS_WXWIDGETS([2.8.0])
689
dnl ---------- libNotify --------------------------------------------------
690
if test "${enable_manager}" = yes ; then
691
pkg_config_args=libnotify
692
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
694
LIBNOTIFY_CFLAGS=`$PKG_CONFIG libnotify --cflags`
695
LIBNOTIFY_LIBS=`$PKG_CONFIG libnotify --libs`
697
AC_SUBST(LIBNOTIFY_CFLAGS)
698
AC_SUBST(LIBNOTIFY_LIBS)
701
dnl ---------- Sqlite3 ----------------------------------------------------
702
if test "${enable_manager}" = yes ; then
706
dnl ---------- XCB --------------------------------------------------------
707
if test "${enable_manager}" = yes; then
708
PKG_CHECK_MODULES(XCB,xcb,have_Xcb="yes",echo "WARNING: Xcb not found, x11_screensaver will not be built")
709
PKG_CHECK_MODULES(XCBATOM,xcb-atom,have_Xcbatom="yes",echo "WARNING: Xcb-atom not found, x11_screensaver will not be built")
711
AM_CONDITIONAL(BUILD_X11_SCREENSAVER, [ test "$have_Xcb" = yes -a "$have_Xcbatom" = yes ])
712
dnl -----------------------------------------------------------------------
558
714
dnl Heres another way to set up host-specific stuff
559
715
AM_CONDITIONAL(OS_DARWIN, [echo $host_os | grep '^darwin' > /dev/null])
566
722
AM_CONDITIONAL(OS_LINUX, [echo $host_os | grep '^linux' > /dev/null])
567
723
dnl In case anyone wants to try building the windows code using mingw!
568
724
AM_CONDITIONAL(OS_WIN32_MINGW, [echo $host_os | grep '^mingw' > /dev/null])
726
AM_CONDITIONAL(OS_OS2, [echo $host_os | grep '^os2' > /dev/null])
728
dnl Whether to build fcgi components
729
AM_CONDITIONAL(ENABLE_FCGI,[test "${enable_fcgi}" = yes])
570
731
dnl tell automake about whether to build client and/or server
732
AM_CONDITIONAL(DYNAMIC_CLIENT, [test "${dynamic_client}" = yes])
571
733
AM_CONDITIONAL(ENABLE_SERVER, [test "${enable_server}" = yes])
572
734
AM_CONDITIONAL(ENABLE_CLIENT, [test "${enable_client}" = yes])
735
AM_CONDITIONAL(ENABLE_MANAGER, [ test "x${ac_cv_have_wxwidgets}" = xyes -a "${enable_manager}" = yes ])
736
AM_CONDITIONAL(ENABLE_LIBRARIES, [test "${enable_libraries}" = yes])
737
AM_CONDITIONAL(INSTALL_HEADERS, [test "${enable_install_headers}" = yes])
738
AM_CONDITIONAL(HAVE_CUDA_LIB, [test "${enable_client}" = yes -a -f ./coprocs/CUDA/posix/${boinc_platform}/libcudart.so])
576
740
dnl ======================================================================
577
741
dnl some more vodoo required for building portable client-binary (client, clientgui)
582
SAH_CHECK_LIB([c],[atexit], [
583
AC_DEFINE([HAVE_LIBC],[1],[Define to 1 if you have the c library])
584
CLIENTLIBS="${CLIENTLIBS} ${sah_lib_last}"])
746
SAH_CHECK_LIB([m],[sin], [
747
AC_DEFINE([HAVE_LIBM],[1],[Define to 1 if you have the math library])
748
CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
585
749
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
586
SAH_CHECK_LIB([gcc_eh],[_Unwind_Resume],[
750
if test "$enable_release_client" = yes -a "$disable_static_linkage" = no ; then
751
SAH_CHECK_LIB([c],[atexit], [
752
AC_DEFINE([HAVE_LIBC],[1],[Define to 1 if you have the c library])
753
CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
754
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
756
SAH_CHECK_LIB([pthread],[pthread_join],[
757
AC_DEFINE([HAVE_LIBPTHREAD],[1],[Define to 1 if you have the pthread library])
758
CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
759
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
760
if test "$enable_release_client" = yes -a "$disable_static_linkage" = no ; then
761
if test x${ac_cv_cxx_compiler_gnu} != xno ; then
762
SAH_CHECK_LIB([gcc_eh],[_Unwind_Resume],[
587
763
AC_DEFINE([HAVE_LIBGCC_EH],[1],[Define to 1 if you have the gcc_eh library])
588
CLIENTLIBS="${CLIENTLIBS} ${sah_lib_last}"])
589
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
590
SAH_CHECK_LIB([stdc++],[sscanf],[
764
CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
765
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
766
SAH_CHECK_LIB([gcc],[sscanf], [
767
AC_DEFINE([HAVE_LIBGCC],[1],[Define to 1 if you have the gcc library])
768
CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
769
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
770
SAH_CHECK_LIB([c_nonshared],[fopen],[
771
AC_DEFINE([HAVE_LIBC_NONSHARED],[1],[Define to 1 if you have the c_nonshared library])
772
CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
773
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
774
SAH_CHECK_LIB([stdc++],[sscanf],[
591
775
AC_DEFINE([HAVE_LIBSTDC__],[1],[Define to 1 if you have the stdc++ library])
592
CLIENTLIBS="${CLIENTLIBS} ${sah_lib_last}"])
593
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
594
SAH_CHECK_LIB([gcc],[sscanf], [
595
AC_DEFINE([HAVE_LIBGCC],[1],[Define to 1 if you have the gcc library])
596
CLIENTLIBS="${CLIENTLIBS} ${sah_lib_last}" ])
597
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
598
SAH_CHECK_LIB([m],[sin], [
599
AC_DEFINE([HAVE_LIBM],[1],[Define to 1 if you have the math library])
600
CLIENTLIBS="${CLIENTLIBS} ${sah_lib_last}"])
601
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
602
SAH_CHECK_LIB([pthread],[pthread_join],[
603
AC_DEFINE([HAVE_LIBPTHREAD],[1],[Define to 1 if you have the pthread library])
604
CLIENTLIBS="${CLIENTLIBS} ${sah_lib_last}"])
605
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
776
CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
777
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
606
780
SAH_CHECK_LIB([wsock32],[fopen],[
607
781
AC_DEFINE([HAVE_LIBWSOCK32],[1],[Define to 1 if you have the wsock32 library])
608
CLIENTLIBS="${CLIENTLIBS} ${sah_lib_last}"])
609
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
782
CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
783
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
786
if test "${ac_cv_func_res_init}" != "yes" ; then
787
AC_CHECK_LIB([resolv],[res_init],[
788
ac_cv_func_res_init="yes"
789
AC_CHECK_FUNCS([res_init])
794
SAH_CHECK_LIB([resolv],[res_query],[
795
AC_DEFINE([HAVE_RESOLV],[1],[Define to 1 if you have the resolv library])
796
CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
797
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
612
799
if ( test "${disable_static_linkage}" != yes ) && ( test "${enable_client_release}" = yes ); then
802
echo "NOTE: Building portable client binaries"
805
if test x$ac_cv_cxx_compiler_gnu != xno ; then
614
806
SAH_CHECK_LDFLAG([-nodefaultlibs],[CLIENTLIBS="-nodefaultlibs ${CLIENTLIBS}"])
615
807
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
617
809
SAH_CHECK_LDFLAG([-lSystemStubs],[LIBS="${LIBS} -lSystemStubs"])
618
810
echo DEBUG: LIBS=${LIBS} >&5
621
echo "NOTE: Building portable client binaries"
624
SAH_CHECK_LDFLAG([-nodefaultlibs],[CLIENTLIBS="-nodefaultlibs ${CLIENTLIBS}"])
625
echo DEBUG: CLIENTLIBS=${CLIENTLIBS} >&5
627
SAH_CHECK_LDFLAG([-lSystemStubs],[LIBS="${LIBS} -lSystemStubs"])
628
echo DEBUG: LIBS=${LIBS} >&5
815
AM_CONDITIONAL([ENABLE_CLIENT_RELEASE],[ ( test "${disable_static_linkage}" != yes ) && ( test "${enable_client_release}" = yes ) ])
816
AM_CONDITIONAL([BUILD_STATIC_LIBS],[test "x${enable_static}" != xno])
633
818
AC_SUBST(CLIENTLIBS)
653
849
CPPFLAGS="$CPPFLAGS -D__NO_CTYPE"
656
## prepend BOINC_EXTRA_LIBS (mangled or not) to LIBS for standard linking
657
LIBS="${BOINC_EXTRA_LIBS} $LIBS"
852
AC_SUBST(BOINC_EXTRA_LIBS)
659
853
AC_SUBST(CLIENTGUIFLAGS)
660
854
AC_SUBST(CLIENTGUILIBS)
661
855
dnl ======================================================================
856
dnl Oh! the joys of standards!
857
AC_PATH_PROG(WHOAMI,[whoami logname],"not found")
858
if test "x${WHOAMI}" = "xnot found" ; then
859
who am i 2>/dev/null && WHOAMI="who am i | awk '{print $1}'"
861
if test "x${WHOAMI}" = "xnot found" -a -x "/usr/ucb/ps" ; then
862
WHOAMI="/usr/ucb/ps u $$ | tail -1 | awk '{print $1}'"
864
if test "x${WHOAMI}" = "xnot found" ; then
865
WHOAMI="ps u $$ | tail -1 | awk '{print $1}'"
869
dnl Some info about the person compiling used for making some packages.
871
FULLNAME=`grep ^${LOGNAME}: /etc/passwd | awk -F: '{print $5}'`
872
if test -z "${FULLNAME}" ; then
873
FULLNAME=`ypcat passwd 2>/dev/null | grep ^${LOGNAME}: | awk -F: '{print $5}'`
875
if test -z "${FULLNAME}" ; then
876
FULLNAME=`nidump passwd / 2>/dev/null | grep ^${LOGNAME}: | awk -F: '{print $5}'`
878
if test -z "${FULLNAME}" ; then
663
884
AC_CONFIG_FILES([
667
888
clientgui/Makefile
668
889
clientgui/res/Makefile
670
client/win/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
671
client/scripts/Makefile
672
client/scripts/boinc-client
892
client/win/boinc_path_config.py:py/boinc_path_config.py.in
893
client/scripts/Makefile
894
client/scripts/boinc-client
675
897
doc/manpages/Makefile
677
locale/client/Makefile
679
py/Boinc/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
681
py/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
682
901
py/Boinc/version.py
684
sched/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
903
py/boinc_path_config.py:py/boinc_path_config.py.in
905
sched/boinc_path_config.py:py/boinc_path_config.py.in
687
test/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
907
packages/generic/sea/Makefile
908
packages/solaris/CSW/Makefile
909
packages/solaris/CSW/boincclient/Makefile
910
packages/solaris/CSW/boincclient/pkginfo
911
packages/solaris/CSW/boincclient/prototype
912
packages/solaris/CSW/boincdevel/Makefile
913
packages/solaris/CSW/boincdevel/pkginfo
914
packages/solaris/CSW/boincdevel/prototype
915
packages/solaris/CSW/boinclibs/Makefile
916
packages/solaris/CSW/boinclibs/pkginfo
917
packages/solaris/CSW/boinclibs/prototype
918
packages/solaris/CSW/boincmanager/Makefile
919
packages/solaris/CSW/boincmanager/pkginfo
920
packages/solaris/CSW/boincmanager/prototype
921
test/boinc_path_config.py:py/boinc_path_config.py.in
690
tools/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
924
tools/boinc_path_config.py:py/boinc_path_config.py.in
698
930
dnl AC_CONFIG_HEADER([config.h])
699
931
AC_CONFIG_HEADERS([config.h])