Commit Graph

310 Commits

Author SHA1 Message Date
Sylvain Pion 53a5d8d388 .C -> guess what... 2007-03-18 12:55:21 +00:00
Sylvain Pion e3157ef9ac CGAL_CFG_LONG_LONG_IO_BUG : new bug in pgCC (reading long longs from a stream is buggy). 2007-03-18 12:52:50 +00:00
Joachim Reichel 0cbdfe9716 install makefile as $(CGAL_INSTALL_DIR)/share/cgal/makefile
do not install unused subdirectory $(CGAL_INSTALL_DIR)/include/CGAL/config
2007-03-18 11:56:46 +00:00
Joachim Reichel ee5436a23d remove line w.r.t. include/CORE (missed this change in r37060) 2007-03-18 10:30:20 +00:00
Joachim Reichel 55438c8c8e fix invocation of _check_for_util from _check_for_sysutil (the former
was looking for a program 'gmake n MAKE' instead of 'gmake')
2007-03-18 10:28:58 +00:00
Daniel Russel f1f153c176 added auto compiler determination to ni, made ni default (removed auto), suppressed warnings when missing config file, cleaned up print out when the config is found 2007-03-16 19:29:11 +00:00
Laurent Rineau db7b7eaf97 Special gift feature for Andreas Fabri: the last line of the output of
install_cgal can now be copy pasted in the shell.

E.g.:

  **   WARNING: You did not build any libs during this session. **
  **     If something went wrong, (or maybe also, if not:)      **
  **                have a look at install.log.                 **
  ****************************************************************

Remember to set the CGAL_MAKEFILE environment variable, e.g.:
export CGAL_MAKEFILE="/usr/share/CGAL/make/makefile"
2007-03-16 16:10:53 +00:00
Laurent Rineau 38ff402c77 Quote more, in the display of "set to ..." in try_to_get_var_from_config_file().
A single quote prevents the shell from interpreting the string.
2007-03-16 15:43:20 +00:00
Laurent Rineau 0eba620f11 - minor modifications of _check_for_(sys)?util():
- one can set variables NO_<utility> (like NO_printf for example) to see
     what happens if an utility is missing (I like using NO_tput=y, for
     example),
   - use of value_of() instead of two eval.
- Add a message at the beginning of the search of POSIX utilities. On
  Cygwin it can take some time.
- Search for GNU/make only in startup (no need for it to see 
  `install_cgal --help`).
- Remove a slash in CGAL_MAKE_DIR.
2007-03-16 15:40:46 +00:00
Laurent Rineau 7cf9fa0a94 add support config files for Boost.Bimap (to be accepted in Boost).
<CGAL/Double_map.h> is faster if Boost.Bimap is used.
2007-03-15 12:12:13 +00:00
Laurent Rineau 8a67f904d9 Fix for platforms that do not have 'getconf'.
The trick: use "_check_for_util getconf", before uses of check_for_sysutil.

Tested on Linux and Solaris.
2007-03-14 21:38:18 +00:00
Laurent Rineau 7935f735e0 - Fix _bc_expr() (broken since the beginning of times, probably never used).
- Fix _search_compiler() (I had broken the latter a week ago, with revision
  36838).

- Better function _check_for_sysutil(): it now uses `getconf CS_PATH` to
  search for POSIX utilities in standard directories. If should fix
  install_cgal on Solaris (tested on Linux and Solaris).

- check_for_utils() is now call as soon as possible, to get a POSIX awk
  before the parsing of support config files.

- Fix calls to any utility without using a variable ${_foobar}. Now, only
  the following utilities are used directly:
    /bin/basename
    /bin/date
2007-03-14 19:51:52 +00:00
Laurent Rineau e5b5a7d612 Fix support of the "blas-devel" RPM on Fedora.
(with Laurent Saboret).
2007-03-14 14:42:53 +00:00
Laurent Saboret 64b45edea0 Added support of AMD Core Math Library 2007-03-14 12:56:56 +00:00
Andreas Fabri a5826c0f15 fixed C interface for lapack 2007-03-14 10:39:01 +00:00
Laurent Rineau 6d542045f9 Make keys case-insensitive in support_feature_menu(), like in other menus. 2007-03-14 09:42:58 +00:00
Andreas Fabri 3f7dfce216 rewording 2007-03-14 08:21:48 +00:00
Andreas Fabri 2b6279f01a Added remark on debug STLs and min/max fix 2007-03-13 18:42:08 +00:00
Joachim Reichel 4f47903a25 moved src/Core to src/CGALCore
moved include/CORE to include/CGAL/CORE
moved include/OpenNL to include/CGAL/OpenNL
renamed libcore++ to libCGALcore++
2007-03-13 18:10:39 +00:00
Andreas Fabri cf9d2e1b98 Added TAU Changes 2007-03-13 15:01:22 +00:00
Sylvain Pion e4ea39527e Add something to test that we link against the correct libgmpxx. 2007-03-10 11:06:41 +00:00
Joachim Reichel cd1a040d2e remove -w and -g option of install_cgal
remove makefile variables CGAL_WINDOW_LDFLAGS, CGAL_GEOWIN_LDFLAGS and CGAL_QT_LDFLAGS
(see #1894)
2007-03-09 22:53:24 +00:00
Sylvain Pion 2bbef62de2 more on new compilers 2007-03-09 17:20:34 +00:00
Andreas Fabri a9b7c143fc some of the changes 2007-03-09 13:34:35 +00:00
Laurent Rineau 1d90e12229 Allows MAKE="make -j2" ./install_cgal... 2007-03-09 10:28:32 +00:00
Sylvain Pion cb13268b22 Initialize _grep to grep.
Improve detection of PGCC (pgCC or pgcpp).
2007-03-08 17:12:26 +00:00
Laurent Rineau efeb130fad Fix real_which, which was quite stupide. :-) 2007-03-08 10:00:25 +00:00
Laurent Rineau a83c9d3f3a - Repair the detection of GNU make.
- New variables _touch and _grep.
- Check the use of variables ${_util} instead of "util" directly (for
  util=grep,touch,cat,rm).
- Use ${CUSTOM_CXXFLAGS} for tests also.
2007-03-07 10:21:48 +00:00
Laurent Saboret e214450536 Remove S51-LAPACKSHARED which tends to break CGAL test suite 2007-03-06 14:10:40 +00:00
Laurent Rineau 65ed13d8c9 New test for gmake.
Add /opt/sfw/bin to standard places (Solaris).
Change the meaning of $3 in _check_for_util and _check_for_sysutil.
2007-03-06 09:21:05 +00:00
Laurent Saboret 9a4e72ebd8 BLAS/LAPACK support on Windows (Visual C++ and g++) 2007-03-05 21:14:35 +00:00
Laurent Saboret 3878176435 Use more use friendly names 2007-03-05 18:33:10 +00:00
Laurent Saboret 5e9ac686c4 Restore config file as TAUCS provides libmetis32.a and libmetis64.a on IRIX 2007-03-05 18:32:40 +00:00
Sylvain Pion 5994cd4e35 remove buggy the in last commit 2007-03-05 17:59:10 +00:00
Sylvain Pion 39a14e92b8 Add to --help the following : --with-PACKAGE, --PACKAGE_INCL_DIR, --PACKAGE_LIB_DIR. 2007-03-05 17:58:11 +00:00
Laurent Saboret d37900d279 Sun Performance Library debugged and tested 2007-03-05 11:01:05 +00:00
Laurent Saboret 646b0feaa7 try_to_get_var_from_file() supports now several '=' characters on a line 2007-03-05 11:00:07 +00:00
Laurent Rineau a3fe48756a Fix the comment of try_to_get_var_from_file_aux(). 2007-03-03 16:30:51 +00:00
Laurent Rineau 972fc4250a Optimization:
- printf is a POSIX shell builtin, so _check_for_sysutil should not be
    called for printf

That optimization avoids more than 15000 forks, during an execution of
    ./install_cgal -i
2007-03-03 16:17:07 +00:00
Laurent Rineau c6fe655d14 Optimizations:
- new implementation of try_to_get_var_from_file() and
    try_to_get_var_from_config_file() that allows to parse a whole file at
    once,
  - new implementation of parse_support_options(), that parse each config
    file at whole.
2007-03-03 15:54:41 +00:00
Laurent Rineau c115b38748 Fix last patch rev36791: i forgot two characteres `". 2007-03-03 15:10:53 +00:00
Laurent Rineau 59d45d51af Optimisation: POSIX awk has a function toupper, so no need to pipe it in
${_tr} '[:lower:]' '[:upper:]'.
2007-03-03 14:26:14 +00:00
Sylvain Pion 623020b3ae minor (8%) optimization of the number of calls to tr 2007-03-02 12:58:15 +00:00
Fernando Cacciola f429531f88 New line at EOF issues in new headers REALLY fixed. 2007-03-02 11:17:02 +00:00
Daniel Russel d46a6f58b6 auto install things if no action is specified 2007-03-01 23:43:54 +00:00
Daniel Russel 716be153c6 fixed dylib path on macs, and the makefile is now in make/CGAL and everything is now installed properly. 2007-03-01 23:43:20 +00:00
Laurent Rineau f794e41ef5 Different handling of the case where soname are not implemented, on a
platform, in other to avoid a warning on Darwin or Cygwin.
2007-03-01 23:38:42 +00:00
Fernando Cacciola a06fa41cb9 auto_link.h now centralized and moved into CGAL/auto_link/ folder.
New line at EOF issues in new headers fixed.
2007-03-01 20:15:24 +00:00
Fernando Cacciola 01e884ea6d Auto-linking macro redefinitions fixed 2007-03-01 11:20:38 +00:00
Daniel Russel 065027b793 added CGALPDB 2007-03-01 00:22:11 +00:00