Changeset 148d3c in git for libpolys/libpolys-config.in


Ignore:
Timestamp:
May 19, 2011, 5:39:53 AM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
c8204aefe85bd27523a76a77f4ae555c156bdc21
Parents:
3199ac3605af0f6ec91729ae32d5704af6105991
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-05-19 05:39:53+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:08+01:00
Message:
FIX: fixing the build system (install needed headers on needed places)
FIX: libpolys-config is correct now (installed, echo -n-fixed)
ADD: trying to use FACTORY_{libs, cflags} as for gmp/ntl
CHG: switched from omalloc_debug to omalloc_g
ADD: symlink for gftables in libpolys/tests
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/libpolys-config.in

    • Property mode changed from 100644 to 100755
    r3199ac r148d3c  
    1 #! /bin/sh
     1#! /bin/bash
    22
    33prefix=@prefix@
     
    55includedir=@includedir@
    66libdir=@libdir@
     7
     8ECHO="echo"
     9ECHOn="printf"
    710
    811usage()
     
    3336while test $# -gt 0; do
    3437    case "$1" in
    35     -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
     38    -*=*) optarg=`${ECHO} "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    3639    *) optarg= ;;
    3740    esac
     
    4346
    4447    --prefix)
    45         echo $prefix
     48        ${ECHO} $prefix
    4649        ;;
    4750
    4851    --version)
    49         echo @VERSION@
     52        ${ECHO} @VERSION@
    5053        exit 0
    5154        ;;
     
    5659
    5760    --cflags)
    58         echo -n " -I${includedir} @GMP_CFLAGS@"
     61        ${ECHOn} " -I${includedir} -I${includedir}/libpolys @GMP_CFLAGS@ @NTL_CFLAGS@ @FACTORY_CFLAGS@"
    5962        ;;
    6063
    6164    --libs)
    62         echo -n " -L${libdir} -lpolys @GMP_LIBS@"
     65        ${ECHOn} " -L${libdir} -lpolys_g -lcoeffs_g -lresources_g -lreporter_g -lmisc_g -lomalloc_g @USEPPROCSDYNAMICLD@ @GMP_LIBS@ @NTL_LIBS@ @FACTORY_LIBS@"
    6366        ;;
    6467
     
    7073    shift
    7174done
    72 echo
     75${ECHO}
    7376
    7477exit 0
Note: See TracChangeset for help on using the changeset viewer.