Changeset 7b05b5 in git for misc


Ignore:
Timestamp:
Oct 6, 2010, 5:00:30 PM (12 years ago)
Author:
Mohamed Barakat <mohamed.barakat@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
f093ba5e2b15f0f7b9fc7f07288a2b2ecd1b8b89
Parents:
2cec00a77e017fd862bd19a1f629a79bb65587e9
git-author:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2010-10-06 17:00:30+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:32+01:00
Message:
new configure(.in) in omalloc and misc
defaults:
--prefix=/usr/local
--includedir=${prefix}/include/${project}/${component}
--libdir=${prefix}/lib/${project}/${component}
Location:
misc
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • misc/configure

    r2cec00 r7b05b5  
    40194019rm -f confcache
    40204020
     4021project=singular
     4022component=misc
     4023
    40214024test "x$prefix" = xNONE && prefix=$ac_default_prefix
    40224025# Let make expand exec_prefix.
    40234026test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
     4027
     4028# expand libdir
     4029test "x$libdir" = 'x${exec_prefix}/lib'&& libdir="${exec_prefix}/lib/${project}/${component}"
     4030
     4031# expand includedir
     4032test "x$includedir" = 'x${prefix}/include' && includedir="${exec_prefix}/include/${project}/${component}"
    40244033
    40254034DEFS=-DHAVE_CONFIG_H
  • misc/configure.in

    r2cec00 r7b05b5  
    8383fi
    8484
     85dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
     86dnl path stuff
     87dnl
     88
     89project=singular
     90component=misc
     91
     92dnl set exec_prefix, libdir, includedir to some sensible values
     93dnl if they are not yet already set
     94
     95# expand prefix
    8596test "x$prefix" = xNONE && prefix=$ac_default_prefix
    8697if test "${with_rootdir+set}" != set; then
     
    90101fi
    91102
     103
     104# expand exec_prefixad
     105if test "x$exec_prefix" = xNONE; then
     106 exec_prefix=${prefix}
     107fi
     108
     109# expand libdir
     110test "x$libdir" = 'x${exec_prefix}/lib'&& libdir="${exec_prefix}/lib/${project}/${component}"
     111
     112# expand includedir
     113test "x$includedir" = 'x${prefix}/include' && includedir="${exec_prefix}/include/${project}/${component}"
     114
    92115AC_CONFIG_FILES([Makefile])
    93116AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.