mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
*** empty log message ***
This commit is contained in:
parent
bc583add45
commit
ff199787ff
@ -1,6 +1,6 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(ppremake.cxx)
|
||||
AM_INIT_AUTOMAKE(ppremake, 0.57)
|
||||
AM_INIT_AUTOMAKE(ppremake, 0.58)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
AC_PREFIX_DEFAULT(/usr/local/panda)
|
||||
|
@ -2703,10 +2703,13 @@ expand_dependencies(const string ¶ms) {
|
||||
vector<string> filenames;
|
||||
tokenize_whitespace(expand_string(params), filenames);
|
||||
|
||||
PPDirectory *directory = get_directory();
|
||||
assert(directory != (PPDirectory *)NULL);
|
||||
|
||||
vector<string> results;
|
||||
vector<string>::const_iterator fi;
|
||||
for (fi = filenames.begin(); fi != filenames.end(); ++fi) {
|
||||
PPDependableFile *file = _directory->get_dependable_file(*fi, false);
|
||||
PPDependableFile *file = directory->get_dependable_file(*fi, false);
|
||||
assert(file != (PPDependableFile *)NULL);
|
||||
|
||||
vector<PPDependableFile *> files;
|
||||
@ -2722,6 +2725,9 @@ expand_dependencies(const string ¶ms) {
|
||||
}
|
||||
}
|
||||
|
||||
sort(results.begin(), results.end());
|
||||
results.erase(unique(results.begin(), results.end()), results.end());
|
||||
|
||||
string result = repaste(results, " ");
|
||||
return result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user